grub_error: Use format code PRIuGRUB_SIZE for variables of type grub_size_t

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Glenn Washburn authored and Daniel Kiper committed 2021-03-10 14:50:44 +01:00
1 parent 334c0ef3d0
commit e96c7645f4
4 files changed
+12 -7

No files matched your search

+1 -1
View File
@@ -504,7 +504,7 @@ grub_efi_duplicate_device_path (const grub_efi_device_path_t *dp)
if (len < 4)
{
grub_error (GRUB_ERR_OUT_OF_RANGE,
"malformed EFI Device Path node has length=%d", len);
"malformed EFI Device Path node has length=%" PRIuGRUB_SIZE, len);
return NULL;
}