From eb84ba7c054d824f6b5b6da19c69ae25048129b0 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 10 Mar 2010 11:08:01 +0100 Subject: [PATCH] libblkid: fix display of device size blkid_loff_t is int64 so use %jd not %zd in debug Reported-by: Pascal Terjan Signed-off-by: Karel Zak --- shlibs/blkid/src/probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shlibs/blkid/src/probe.c b/shlibs/blkid/src/probe.c index e7845816..b245d43b 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=%jd, size=%jd\n", pr->off, pr->size)); if (pr->size <= 1440 * 1024 && !S_ISCHR(pr->mode)) -- 2.39.5