mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix previous commitr:. efi_var_set() was copied from efi_var_get(),
but wasn't actually changed.
This commit is contained in:
parent
259565ce68
commit
684b17831f
2 changed files with 4 additions and 4 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue