boot: when we can't boot use the right boot loader entry display title in log message

This commit is contained in:
Lennart Poettering
2021-11-11 17:22:55 +01:00
parent 18fde343a8
commit df33178416
+1 -1
View File
@@ -2498,7 +2498,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) {
err = image_start(root_dir, image, &config, entry);
if (EFI_ERROR(err)) {
graphics_mode(FALSE);
log_error_stall(L"Failed to execute %s (%s): %r", entry->title, entry->loader, err);
log_error_stall(L"Failed to execute %s (%s): %r", entry->title_show, entry->loader, err);
goto out;
}