diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-03 18:24:04 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-03 18:24:04 +0200 |
commit | 0565a00a4cfdabd325bf2e117620d5f15dd46cda (patch) | |
tree | 18501a09ee2253777b85ff59451419b83aca96e4 /extras/volume_id/lib/ntfs.c | |
parent | 99370c21521bca6e747f6be209e5c28f89de9838 (diff) |
volume_id: use PRIu64i, PRIx64 macros
Diffstat (limited to 'extras/volume_id/lib/ntfs.c')
-rw-r--r-- | extras/volume_id/lib/ntfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/volume_id/lib/ntfs.c b/extras/volume_id/lib/ntfs.c index 8154e7685a..f861b4bf28 100644 --- a/extras/volume_id/lib/ntfs.c +++ b/extras/volume_id/lib/ntfs.c @@ -110,7 +110,7 @@ int volume_id_probe_ntfs(struct volume_id *id, uint64_t off, uint64_t size) const uint8_t *buf; const uint8_t *val; - info("probing at offset 0x%llx\n", (unsigned long long) off); + info("probing at offset 0x%" PRIx64 "\n", off); ns = (struct ntfs_super_block *) volume_id_get_buffer(id, off, 0x200); if (ns == NULL) @@ -137,8 +137,8 @@ int volume_id_probe_ntfs(struct volume_id *id, uint64_t off, uint64_t size) dbg("sectorsize 0x%x\n", sector_size); dbg("clustersize 0x%x\n", cluster_size); - dbg("mftcluster %llu\n", (unsigned long long) mft_cluster); - dbg("mftoffset 0x%llx\n", (unsigned long long) mft_off); + dbg("mftcluster %" PRIu64 "\n", mft_cluster); + dbg("mftoffset 0x%" PRIx64 "\n", mft_off); dbg("cluster per mft_record %i\n", ns->cluster_per_mft_record); dbg("mft record size %i\n", mft_record_size); |