aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Washburn <development@efficientek.com>2021-03-04 18:22:42 -0600
committerDaniel Kiper <daniel.kiper@oracle.com>2021-03-10 15:23:33 +0100
commite72139a76ed43b96a260eb7f7d149912788aa7db (patch)
treecbc208b90928e4cddc6fcffb5fab138e4152fc50
parentd028b1a35eb631a13ac7c77c081d66e6c9d86151 (diff)
downloadgrub-e72139a76ed43b96a260eb7f7d149912788aa7db.tar.gz
fs/hfsplus: Use format code PRIuGRUB_UINT64_T for 64-bit typed fileblock in grub_error()
Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
-rw-r--r--grub-core/fs/hfsplus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/grub-core/fs/hfsplus.c b/grub-core/fs/hfsplus.c
index 361e5be49..2a69055c7 100644
--- a/grub-core/fs/hfsplus.c
+++ b/grub-core/fs/hfsplus.c
@@ -199,7 +199,8 @@ grub_hfsplus_read_block (grub_fshelp_node_t node, grub_disk_addr_t fileblock)
|| !nnode)
{
grub_error (GRUB_ERR_READ_ERROR,
- "no block found for the file id 0x%x and the block offset 0x%x",
+ "no block found for the file id 0x%x and the block"
+ " offset 0x%" PRIuGRUB_UINT64_T,
node->fileid, fileblock);
break;
}