[PATCH 1/2] blkid: fix display of device size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



blkid_loff_t is uint64 so use %llu not %zd in debug

Signed-off-by: Pascal Terjan <pterjan@xxxxxxxxxxxx>
---
 shlibs/blkid/src/probe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/shlibs/blkid/src/probe.c b/shlibs/blkid/src/probe.c
index e784581..58180f9 100644
--- a/shlibs/blkid/src/probe.c
+++ b/shlibs/blkid/src/probe.c
@@ -608,7 +608,7 @@ int blkid_probe_set_device(blkid_probe pr, int fd,
 		pr->size -= pr->off;
 	}
 
-	DBG(DEBUG_LOWPROBE, printf("ready for low-probing, offset=%zd, size=%zd\n",
+	DBG(DEBUG_LOWPROBE, printf("ready for low-probing, offset=%llu, size=%llu\n",
 				pr->off, pr->size));
 
 	if (pr->size <= 1440 * 1024 && !S_ISCHR(pr->mode))
-- 
1.7.0.2

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux