X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Fvolume_id%2Flib%2Fiso9660.c;h=ea1464b066950406f17858edadc955acdbd58712;hb=bc4c751802147f1ff21bf52a57a2976754949453;hp=913e5b8a0e98d9b584daee587eef14546e90a976;hpb=55e9959b155cefc5146f7a3d1ea73e74da91f303;p=elogind.git diff --git a/extras/volume_id/lib/iso9660.c b/extras/volume_id/lib/iso9660.c index 913e5b8a0..ea1464b06 100644 --- a/extras/volume_id/lib/iso9660.c +++ b/extras/volume_id/lib/iso9660.c @@ -64,7 +64,7 @@ int volume_id_probe_iso9660(struct volume_id *id, uint64_t off, uint64_t size) struct iso_volume_descriptor *is; struct high_sierra_volume_descriptor *hs; - info("probing at offset 0x%llx\n", (unsigned long long) off); + info("probing at offset 0x%" PRIx64 "\n", off); buf = volume_id_get_buffer(id, off + ISO_SUPERBLOCK_OFFSET, 0x200); if (buf == NULL) @@ -91,7 +91,7 @@ int volume_id_probe_iso9660(struct volume_id *id, uint64_t off, uint64_t size) if (is->type != ISO_VD_SUPPLEMENTARY) continue; - dbg("found SVD at offset 0x%llx\n", (unsigned long long) (off + vd_offset)); + dbg("found SVD at offset 0x%" PRIx64 "\n", (off + vd_offset)); if (memcmp(is->escape_sequences, "%/@", 3) == 0|| memcmp(is->escape_sequences, "%/C", 3) == 0|| memcmp(is->escape_sequences, "%/E", 3) == 0) {