diff options
| author | Renaud Métrich <rmetrich@redhat.com> | 2024-06-04 15:24:35 +0200 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2025-01-17 14:45:32 -0500 |
| commit | 27562ea4cecb9e332080bc77c644c3e0612b73a9 (patch) | |
| tree | e91b152a9c8e22b7192c269a8cc3c01c9bee5bb3 | |
| parent | 0345331fa871650faaa5a34baa9c3b30fea10667 (diff) | |
| download | efi-boot-shim-27562ea4cecb9e332080bc77c644c3e0612b73a9.tar.gz efi-boot-shim-27562ea4cecb9e332080bc77c644c3e0612b73a9.zip | |
Fix bad reference to PathName in image loading
Without the patch:
-----------------------------------------------------------------------
Failed to open \EFI\BOOT\mmx64.efi - Not Found
Failed to load image 貘給: Not Found
-----------------------------------------------------------------------
With the patch:
-----------------------------------------------------------------------
Failed to open \EFI\BOOT\mmx64.efi - Not Found
Failed to load image \EFI\BOOT\mmx64.efi: Not Found
-----------------------------------------------------------------------
Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
| -rw-r--r-- | shim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1154,7 +1154,7 @@ EFI_STATUS read_image(EFI_HANDLE image_handle, CHAR16 *ImagePath, efi_status = load_image(shim_li, data, datasize, *PathName); if (EFI_ERROR(efi_status)) { perror(L"Failed to load image %s: %r\n", - PathName, efi_status); + *PathName, efi_status); PrintErrors(); ClearErrors(); return efi_status; |
