diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2010-01-14 02:38:46 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2010-01-14 02:38:46 +0000 |
commit | 684b17831f973f0caf055ebc0cc87fee2a305d10 (patch) | |
tree | 9fda6c87bf237fa80ce0b584da16fc51c5abe08a /sys | |
parent | 259565ce68e10eb6bdae9df2817db13ac812b02a (diff) | |
download | src-684b17831f973f0caf055ebc0cc87fee2a305d10.tar.gz src-684b17831f973f0caf055ebc0cc87fee2a305d10.zip |
Fix previous commitr:. efi_var_set() was copied from efi_var_get(),
but wasn't actually changed.
Notes
Notes:
svn path=/head/; revision=202272
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ia64/ia64/efi.c | 6 | ||||
-rw-r--r-- | sys/ia64/include/efi.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/ia64/ia64/efi.c b/sys/ia64/ia64/efi.c index 4d93253c56eb..7e6fdaa9ef83 100644 --- a/sys/ia64/ia64/efi.c +++ b/sys/ia64/ia64/efi.c @@ -214,11 +214,11 @@ efi_var_nextname(size_t *namesize, efi_char *name, struct uuid *vendor) } int -efi_var_set(efi_char *name, struct uuid *vendor, uint32_t *attrib, - size_t *datasize, void *data) +efi_var_set(efi_char *name, struct uuid *vendor, uint32_t attrib, + size_t datasize, void *data) { efi_status status; - status = efi_runtime->rt_getvar(name, vendor, attrib, datasize, data); + status = efi_runtime->rt_setvar(name, vendor, attrib, datasize, data); return (efi_status_to_errno(status)); } diff --git a/sys/ia64/include/efi.h b/sys/ia64/include/efi.h index a863172a1e75..53ff11750c41 100644 --- a/sys/ia64/include/efi.h +++ b/sys/ia64/include/efi.h @@ -161,6 +161,6 @@ void efi_reset_system(void); int efi_set_time(struct efi_tm *); int efi_var_get(efi_char *, struct uuid *, uint32_t *, size_t *, void *); int efi_var_nextname(size_t *, efi_char *, struct uuid *); -int efi_var_set(efi_char *, struct uuid *, uint32_t *, size_t *, void *); +int efi_var_set(efi_char *, struct uuid *, uint32_t, size_t, void *); #endif /* _MACHINE_EFI_H_ */ |