From 0565a00a4cfdabd325bf2e117620d5f15dd46cda Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 3 Oct 2008 18:24:04 +0200 Subject: volume_id: use PRIu64i, PRIx64 macros --- extras/volume_id/lib/volume_id.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'extras/volume_id/lib/volume_id.c') diff --git a/extras/volume_id/lib/volume_id.c b/extras/volume_id/lib/volume_id.c index c9ad02b9ae..791be43515 100644 --- a/extras/volume_id/lib/volume_id.c +++ b/extras/volume_id/lib/volume_id.c @@ -367,8 +367,7 @@ int volume_id_probe_raid(struct volume_id *id, uint64_t off, uint64_t size) if (!device_is_readable(id, off)) return -1; - 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); for (i = 0; i < ARRAY_SIZE(prober_raid); i++) if (prober_raid[i].prober(id, off, size) == 0) @@ -401,8 +400,7 @@ int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size if (!device_is_readable(id, off)) return -1; - 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); for (i = 0; i < ARRAY_SIZE(prober_filesystem); i++) if (prober_filesystem[i].prober(id, off, size) == 0) -- cgit v1.2.3-54-g00ecf