]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
boot: Fix error message 25373/head
authorJan Janssen <medhefgo@web.de>
Sun, 13 Nov 2022 15:14:17 +0000 (16:14 +0100)
committerJan Janssen <medhefgo@web.de>
Sun, 13 Nov 2022 15:15:34 +0000 (16:15 +0100)
src/boot/efi/boot.c

index 4150b16ecf9bbd3b1f04d7c867f2205c21377cf4..84f4cc11a35c2ec443bdc1d4abf7063d879fd2af 100644 (file)
@@ -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);