From: Heinrich Schuchardt Date: Thu, 3 Feb 2022 19:13:17 +0000 (+0100) Subject: efi_loader: use %zu to print efi_uintn_t in FMP driver X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=b1193fa9576c988ebbe04334f10bf38279cc72ec;p=u-boot.git efi_loader: use %zu to print efi_uintn_t in FMP driver For printing an unsigned value we should use %u and not %d. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_firmware.c b/lib/efi_loader/efi_firmware.c index 519a47267c..a5ff32f121 100644 --- a/lib/efi_loader/efi_firmware.c +++ b/lib/efi_loader/efi_firmware.c @@ -302,7 +302,7 @@ efi_status_t EFIAPI efi_firmware_fit_set_image( efi_status_t (*progress)(efi_uintn_t completion), u16 **abort_reason) { - EFI_ENTRY("%p %d %p %zd %p %p %p\n", this, image_index, image, + EFI_ENTRY("%p %d %p %zu %p %p %p\n", this, image_index, image, image_size, vendor_code, progress, abort_reason); if (!image || image_index != 1) @@ -417,7 +417,7 @@ efi_status_t EFIAPI efi_firmware_raw_set_image( efi_status_t status; efi_uintn_t capsule_payload_size; - EFI_ENTRY("%p %d %p %zd %p %p %p\n", this, image_index, image, + EFI_ENTRY("%p %d %p %zu %p %p %p\n", this, image_index, image, image_size, vendor_code, progress, abort_reason); if (!image)