summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/hfs.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-03 18:24:04 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-03 18:24:04 +0200
commit0565a00a4cfdabd325bf2e117620d5f15dd46cda (patch)
tree18501a09ee2253777b85ff59451419b83aca96e4 /extras/volume_id/lib/hfs.c
parent99370c21521bca6e747f6be209e5c28f89de9838 (diff)
volume_id: use PRIu64i, PRIx64 macros
Diffstat (limited to 'extras/volume_id/lib/hfs.c')
-rw-r--r--extras/volume_id/lib/hfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/volume_id/lib/hfs.c b/extras/volume_id/lib/hfs.c
index dbc5f36195..903378b34e 100644
--- a/extras/volume_id/lib/hfs.c
+++ b/extras/volume_id/lib/hfs.c
@@ -188,7 +188,7 @@ int volume_id_probe_hfs_hfsplus(struct volume_id *id, uint64_t off, uint64_t siz
struct hfsplus_extent extents[HFSPLUS_EXTENT_COUNT];
const uint8_t *buf;
- info("probing at offset 0x%llx\n", (unsigned long long) off);
+ info("probing at offset 0x%" PRIx64 "\n", off);
buf = volume_id_get_buffer(id, off + HFS_SUPERBLOCK_OFFSET, 0x200);
if (buf == NULL)
@@ -211,7 +211,7 @@ int volume_id_probe_hfs_hfsplus(struct volume_id *id, uint64_t off, uint64_t siz
off += (alloc_first_block * 512) +
(embed_first_block * alloc_block_size);
- dbg("hfs wrapped hfs+ found at offset 0x%llx\n", (unsigned long long) off);
+ dbg("hfs wrapped hfs+ found at offset 0x%" PRIx64 "\n", off);
buf = volume_id_get_buffer(id, off + HFS_SUPERBLOCK_OFFSET, 0x200);
if (buf == NULL)