]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
boot: when we can't boot use the right boot loader entry display title in log message
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Nov 2021 22:57:49 +0000 (23:57 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Nov 2021 16:22:55 +0000 (17:22 +0100)
src/boot/efi/boot.c

index 89888c3aa9a508babf56346f26337f850901e347..ccbdca227187ddfb7521bc750cd31bfe1dc7076f 100644 (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;
                 }