diff options
Diffstat (limited to 'src/boot/efi/random-seed.c')
-rw-r--r-- | src/boot/efi/random-seed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/random-seed.c b/src/boot/efi/random-seed.c index e5bad11962..0ce16615c1 100644 --- a/src/boot/efi/random-seed.c +++ b/src/boot/efi/random-seed.c @@ -56,7 +56,7 @@ static EFI_STATUS acquire_system_token(void **ret, size_t *ret_size) { assert(ret); assert(ret_size); - err = efivar_get_raw(MAKE_GUID_PTR(LOADER), u"LoaderSystemToken", &data, &size); + err = efivar_get_raw(MAKE_GUID_PTR(LOADER), u"LoaderSystemToken", (void**) &data, &size); if (err != EFI_SUCCESS) { if (err != EFI_NOT_FOUND) log_error_status(err, "Failed to read LoaderSystemToken EFI variable: %m"); |