sd-boot: don't print error string where there's no error code known

This commit is contained in:
Lennart Poettering
2019-03-01 12:41:32 +01:00
parent fa2a3bbdd8
commit 5d87589732
+1 -1
View File
@@ -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;
}