From: Jan Janssen Date: Sun, 13 Nov 2022 15:14:17 +0000 (+0100) Subject: boot: Fix error message X-Git-Tag: v253-rc1~535^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F25373%2Fhead;p=thirdparty%2Fsystemd.git boot: Fix error message --- diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 4150b16ecf9..84f4cc11a35 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);