summaryrefslogtreecommitdiffstats
path: root/src/boot
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2022-11-13 16:14:17 +0100
committerJan Janssen <medhefgo@web.de>2022-11-13 16:15:34 +0100
commit6ee4aa22140dd8d51b1a18882eb4220629b8dd8f (patch)
treeca8825642ceaaa9e5b089033bfbc03d1bdc3a6e4 /src/boot
parentboot: Silence driver reconnect errors (diff)
downloadsystemd-6ee4aa22140dd8d51b1a18882eb4220629b8dd8f.tar.xz
systemd-6ee4aa22140dd8d51b1a18882eb4220629b8dd8f.zip
boot: Fix error message
Diffstat (limited to 'src/boot')
-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 4150b16ecf..84f4cc11a3 100644
--- a/src/boot/efi/boot.c
+++ b/src/boot/efi/boot.c
@@ -2678,7 +2678,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) {
err = device_path_to_str(loaded_image->FilePath, &loaded_image_path);
if (err != EFI_SUCCESS)
- return log_error_status_stall(err, L"Error getting loaded image path: %m");
+ return log_error_status_stall(err, L"Error getting loaded image path: %r", err);
export_variables(loaded_image, loaded_image_path, init_usec);