diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-07-02 17:49:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-07-02 18:15:27 +0200 |
commit | 1d22e23edb5746ebf057b1d14b4ff5fc0aa89707 (patch) | |
tree | 636dcb98666901fbab8fb463789f84a682a8f8c0 /src/boot/efi/vmm.c | |
parent | efi: split out efivars.[ch] from util.[ch] (diff) | |
download | systemd-1d22e23edb5746ebf057b1d14b4ff5fc0aa89707.tar.xz systemd-1d22e23edb5746ebf057b1d14b4ff5fc0aa89707.zip |
efivars: change return parameter of efivar_get_raw() to be void**
This is the "raw", untyped version after all, hence we should return a
void pointer, and let the client cast, if they know more.
Replaces: #30812
Diffstat (limited to '')
-rw-r--r-- | src/boot/efi/vmm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/vmm.c b/src/boot/efi/vmm.c index e7fce0763e..0f268a1512 100644 --- a/src/boot/efi/vmm.c +++ b/src/boot/efi/vmm.c @@ -81,7 +81,7 @@ EFI_STATUS vmm_open(EFI_HANDLE *ret_vmm_dev, EFI_FILE **ret_vmm_dir) { _cleanup_free_ EFI_DEVICE_PATH *dp = NULL; _cleanup_free_ char16_t *order_str = xasprintf("VMMBootOrder%04zx", order); - dp_err = efivar_get_raw(MAKE_GUID_PTR(VMM_BOOT_ORDER), order_str, (char **) &dp, NULL); + dp_err = efivar_get_raw(MAKE_GUID_PTR(VMM_BOOT_ORDER), order_str, (void**) &dp, NULL); for (size_t i = 0; i < n_handles; i++) { _cleanup_(file_closep) EFI_FILE *root_dir = NULL, *efi_dir = NULL; |