diff options
author | Ruediger Meier | 2016-10-26 23:04:44 +0200 |
---|---|---|
committer | Ruediger Meier | 2016-10-27 11:03:27 +0200 |
commit | eaaf0e7e378c3f0477008ac2da389c7e3b6652bd (patch) | |
tree | ec5f93dfd567d912d49b0fd36d698a00eb822a3e /libblkid/src/superblocks/zfs.c | |
parent | misc: fix some compiler warnings (diff) | |
download | kernel-qcow2-util-linux-eaaf0e7e378c3f0477008ac2da389c7e3b6652bd.tar.gz kernel-qcow2-util-linux-eaaf0e7e378c3f0477008ac2da389c7e3b6652bd.tar.xz kernel-qcow2-util-linux-eaaf0e7e378c3f0477008ac2da389c7e3b6652bd.zip |
misc: once again some printf format strings
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libblkid/src/superblocks/zfs.c')
-rw-r--r-- | libblkid/src/superblocks/zfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libblkid/src/superblocks/zfs.c b/libblkid/src/superblocks/zfs.c index c41f76990..02fa95675 100644 --- a/libblkid/src/superblocks/zfs.c +++ b/libblkid/src/superblocks/zfs.c @@ -87,7 +87,7 @@ static void zfs_extract_guid_name(blkid_probe pr, loff_t offset) memcpy(buff, p, sizeof(buff)); nvl = (struct nvlist *) buff; - DBG(LOWPROBE, ul_debug("zfs_extract: nvlist offset %jd\n", offset)); + DBG(LOWPROBE, ul_debug("zfs_extract: nvlist offset %jd\n", (intmax_t)offset)); nvp = &nvl->nvl_nvpair; while (left > sizeof(*nvp) && nvp->nvp_size != 0 && found < 3) { @@ -176,14 +176,14 @@ static int find_uberblocks(const void *label, loff_t *ub_offset, int *swap_endia *ub_offset = offset; *swap_endian = 0; found++; - DBG(LOWPROBE, ul_debug("probe_zfs: found little-endian uberblock at %jd\n", offset >> 10)); + DBG(LOWPROBE, ul_debug("probe_zfs: found little-endian uberblock at %jd\n", (intmax_t)offset >> 10)); } if (ub->ub_magic == swab_magic) { *ub_offset = offset; *swap_endian = 1; found++; - DBG(LOWPROBE, ul_debug("probe_zfs: found big-endian uberblock at %jd\n", offset >> 10)); + DBG(LOWPROBE, ul_debug("probe_zfs: found big-endian uberblock at %jd\n", (intmax_t)offset >> 10)); } } |