chiark / gitweb /
volume_id: use PRIu64i, PRIx64 macros
[elogind.git] / extras / volume_id / lib / promise_raid.c
index d4a5b0468325b7d2b36beb9359180ca9511fe723..cdc90a1a6568832facf39fc0d833eea3c6905548 100644 (file)
@@ -47,8 +47,7 @@ int volume_id_probe_promise_fasttrack_raid(struct volume_id *id, uint64_t off, u
                63, 255, 256, 16, 399, 0
        };
 
-       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 < 0x40000)
                return -1;