]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
boot: fix argument name mismatch in two functions
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Mon, 29 Apr 2024 10:22:49 +0000 (12:22 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 29 Apr 2024 12:34:37 +0000 (14:34 +0200)
src/boot/efi/util.h
src/boot/efi/vmm.h

index 44614593ee9530c93d0f6f47a293fb8872df65e1..ceac07ca3921ca07d6b79ac1647e7ebc64104b80 100644 (file)
@@ -84,7 +84,7 @@ static inline Pages xmalloc_pages(
 EFI_STATUS efivar_set(const EFI_GUID *vendor, const char16_t *name, const char16_t *value, uint32_t flags);
 EFI_STATUS efivar_set_raw(const EFI_GUID *vendor, const char16_t *name, const void *buf, size_t size, uint32_t flags);
 EFI_STATUS efivar_set_uint_string(const EFI_GUID *vendor, const char16_t *name, size_t i, uint32_t flags);
-EFI_STATUS efivar_set_uint32_le(const EFI_GUID *vendor, const char16_t *NAME, uint32_t value, uint32_t flags);
+EFI_STATUS efivar_set_uint32_le(const EFI_GUID *vendor, const char16_t *name, uint32_t value, uint32_t flags);
 EFI_STATUS efivar_set_uint64_le(const EFI_GUID *vendor, const char16_t *name, uint64_t value, uint32_t flags);
 void efivar_set_time_usec(const EFI_GUID *vendor, const char16_t *name, uint64_t usec);
 
index df48af3779e7a61ae11a44e4c939b06d24a40c62..1d1037b32a5e079725682d129c531bfa6df4ceb5 100644 (file)
@@ -4,7 +4,7 @@
 #include "efi.h"
 
 bool is_direct_boot(EFI_HANDLE device);
-EFI_STATUS vmm_open(EFI_HANDLE *ret_qemu_dev, EFI_FILE **ret_qemu_dir);
+EFI_STATUS vmm_open(EFI_HANDLE *ret_vmm_dev, EFI_FILE **ret_vmm_dir);
 
 bool in_hypervisor(void);