summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/linux_raid.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-03 18:24:04 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-03 18:24:04 +0200
commit0565a00a4cfdabd325bf2e117620d5f15dd46cda (patch)
tree18501a09ee2253777b85ff59451419b83aca96e4 /extras/volume_id/lib/linux_raid.c
parent99370c21521bca6e747f6be209e5c28f89de9838 (diff)
volume_id: use PRIu64i, PRIx64 macros
Diffstat (limited to 'extras/volume_id/lib/linux_raid.c')
-rw-r--r--extras/volume_id/lib/linux_raid.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/extras/volume_id/lib/linux_raid.c b/extras/volume_id/lib/linux_raid.c
index f7d1af4fe7..e845570823 100644
--- a/extras/volume_id/lib/linux_raid.c
+++ b/extras/volume_id/lib/linux_raid.c
@@ -72,8 +72,7 @@ static int volume_id_probe_linux_raid0(struct volume_id *id, uint64_t off, uint6
uint8_t bytes[16];
} uuid;
- 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;
@@ -127,8 +126,7 @@ static int volume_id_probe_linux_raid1(struct volume_id *id, uint64_t off, uint6
const uint8_t *buf;
struct mdp1_super_block *mdp1;
- 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);
buf = volume_id_get_buffer(id, off, 0x800);
if (buf == NULL)