]> git.proxmox.com Git - grub2.git/commitdiff
fs/hfsplus: Use format code PRIuGRUB_UINT64_T for 64-bit typed fileblock in grub_error()
authorGlenn Washburn <development@efficientek.com>
Fri, 5 Mar 2021 00:22:42 +0000 (18:22 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 10 Mar 2021 14:23:33 +0000 (15:23 +0100)
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/fs/hfsplus.c

index 361e5be492e50ddc5f29befeaa6d35e6b098c502..2a69055c7ec7b7e4836cfce18b9f69f47232dd6e 100644 (file)
@@ -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;
        }