From: Lennart Poettering Date: Fri, 8 Feb 2019 12:05:55 +0000 (+0100) Subject: sd-boot: don't print error string where there's no error code known X-Git-Tag: v242-rc1~218^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d87589732411c05c90ffab292f31e536502bebb;p=thirdparty%2Fsystemd.git sd-boot: don't print error string where there's no error code known --- diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 188ce65867b..c7ba0887610 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; }