chiark / gitweb /
scsi_id: make sure, we do not have slashes in values
[elogind.git] / extras / volume_id / lib / hpfs.c
index 80ba289773619fbe860a4e96393e3c16d62ce543..ce9118d3703577be872776789e3b530bd2db9533 100644 (file)
@@ -80,7 +80,7 @@ int volume_id_probe_hpfs(struct volume_id *id, uint64_t off, uint64_t size)
        struct hpfs_spare_super *hss;
        struct hpfs_boot_block *hbb;
 
-       info("probing at offset 0x%llx\n", (unsigned long long) off);
+       info("probing at offset 0x%" PRIx64 "\n", off);
 
        hs = (struct hpfs_super *) volume_id_get_buffer(id, off + HPFS_SUPERBLOCK_OFFSET, 0x400);
        if (hs == NULL)