mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-08-02 17:21:33 +00:00
Use the correct define on Open.
The value here doesn't actually change any, but we should still use the right name. Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
c9d11306e4
commit
5bb3e64ed8
2
shim.c
2
shim.c
@ -948,7 +948,7 @@ should_use_fallback(EFI_HANDLE image_handle)
|
||||
}
|
||||
|
||||
rc = uefi_call_wrapper(vh->Open, 5, vh, &fh, L"\\EFI\\BOOT" FALLBACK,
|
||||
EFI_FILE_READ_ONLY, 0);
|
||||
EFI_FILE_MODE_READ, 0);
|
||||
if (EFI_ERROR(rc)) {
|
||||
Print(L"Could not open \"\\EFI\\BOOT%s\": %d\n", FALLBACK, rc);
|
||||
uefi_call_wrapper(vh->Close, 1, vh);
|
||||
|
Loading…
Reference in New Issue
Block a user