Date: Thu, 14 Jan 2010 02:38:46 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r202272 - in head/sys/ia64: ia64 include Message-ID: <201001140238.o0E2ckFi099047@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcel Date: Thu Jan 14 02:38:46 2010 New Revision: 202272 URL: http://svn.freebsd.org/changeset/base/202272 Log: Fix previous commitr:. efi_var_set() was copied from efi_var_get(), but wasn't actually changed. Modified: head/sys/ia64/ia64/efi.c head/sys/ia64/include/efi.h Modified: head/sys/ia64/ia64/efi.c ============================================================================== --- head/sys/ia64/ia64/efi.c Thu Jan 14 02:14:21 2010 (r202271) +++ head/sys/ia64/ia64/efi.c Thu Jan 14 02:38:46 2010 (r202272) @@ -214,11 +214,11 @@ efi_var_nextname(size_t *namesize, efi_c } 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)); } Modified: head/sys/ia64/include/efi.h ============================================================================== --- head/sys/ia64/include/efi.h Thu Jan 14 02:14:21 2010 (r202271) +++ head/sys/ia64/include/efi.h Thu Jan 14 02:38:46 2010 (r202272) @@ -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_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001140238.o0E2ckFi099047>