chiark / gitweb /
scsi_id: make sure, we do not have slashes in values
[elogind.git] / extras / volume_id / lib / adaptec_raid.c
index a76b7321d86d123887f98fa570ef02eac03b360d..d20399c0ff62a1f97eeb25a5734c205be088afe1 100644 (file)
@@ -91,8 +91,7 @@ int volume_id_probe_adaptec_raid(struct volume_id *id, uint64_t off, uint64_t si
        uint64_t meta_off;
        struct adaptec_meta *ad;
 
-       info("probing at offset 0x%llx, size 0x%llx\n",
-           (unsigned long long) off, (unsigned long long) size);
+       info("probing at offset 0x%" PRIx64 ", size 0x%" PRIx64 "\n", off, size);
 
        if (size < 0x10000)
                return -1;