summaryrefslogtreecommitdiffstats
path: root/src/boot/efi/boot.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-02-08 13:05:55 +0100
committerLennart Poettering <lennart@poettering.net>2019-03-01 12:41:32 +0100
commit5d87589732411c05c90ffab292f31e536502bebb (patch)
tree81d89784348deff1bc4770e9ce15625c5256e0e2 /src/boot/efi/boot.c
parentsd-boot: also look for boot loader entries in the XBOOTLDR partition (diff)
downloadsystemd-5d87589732411c05c90ffab292f31e536502bebb.tar.xz
systemd-5d87589732411c05c90ffab292f31e536502bebb.zip
sd-boot: don't print error string where there's no error code known
Diffstat (limited to '')
-rw-r--r--src/boot/efi/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c
index 188ce65867..c7ba088761 100644
--- a/src/boot/efi/boot.c
+++ b/src/boot/efi/boot.c
@@ -2310,7 +2310,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) {
root_dir = LibOpenRoot(loaded_image->DeviceHandle);
if (!root_dir) {
- Print(L"Unable to open root directory: %r ", err);
+ Print(L"Unable to open root directory.");
uefi_call_wrapper(BS->Stall, 1, 3 * 1000 * 1000);
return EFI_LOAD_ERROR;
}