summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/linux_raid.c
diff options
context:
space:
mode:
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)