diff options
| author | Peter Jones <pjones@redhat.com> | 2013-05-15 13:38:44 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2013-05-15 13:38:44 -0400 |
| commit | 5bb3e64ed8584947d6d92371f261c12c2421c263 (patch) | |
| tree | f4cb0afcfa5fd185d3d00cd55c6926109da5715d | |
| parent | c9d11306e4d6a4c4638735f15852b59f3585e792 (diff) | |
| download | efi-boot-shim-5bb3e64ed8584947d6d92371f261c12c2421c263.tar.gz efi-boot-shim-5bb3e64ed8584947d6d92371f261c12c2421c263.zip | |
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>
| -rw-r--r-- | shim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
