summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-09-02 13:37:52 +0200
committerRobbie Harwood <rharwood@redhat.com>2021-09-03 10:04:02 -0400
commitf9ced705b692d7717461117784ddc28b39305722 (patch)
tree404e85c5f27c463d8a62bfedafedf62c5382ec34
parentcff8db7d44c91c439cdbe5560dd6c43cae70ef6d (diff)
downloadefi-boot-shim-f9ced705b692d7717461117784ddc28b39305722.tar.gz
efi-boot-shim-f9ced705b692d7717461117784ddc28b39305722.zip
shim: avoid BOOTx64.EFI in message on other architectures
An error message complaining about missing file BOOTx64.EFI makes no sense on other architectures. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--shim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shim.c b/shim.c
index 94a51768..1e774f71 100644
--- a/shim.c
+++ b/shim.c
@@ -724,7 +724,7 @@ should_use_fallback(EFI_HANDLE image_handle)
efi_status = gBS->HandleProtocol(image_handle, &EFI_LOADED_IMAGE_GUID,
(void **)&li);
if (EFI_ERROR(efi_status)) {
- perror(L"Could not get image for bootx64.efi: %r\n",
+ perror(L"Could not get image for boot" EFI_ARCH L".efi: %r\n",
efi_status);
return 0;
}