summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2013-08-06 10:35:05 +0000
committerae <ae@FreeBSD.org>2013-08-06 10:35:05 +0000
commitfb576014bb12d0ceb12812f1b2bcae71277ec293 (patch)
treeb4f2cb3cc95a8bd4c8e065aaec3f414b7c9f7fa7
parenteacc009ef657c5ff020973607fbaeff39343d55c (diff)
downloadFreeBSD-src-fb576014bb12d0ceb12812f1b2bcae71277ec293.zip
FreeBSD-src-fb576014bb12d0ceb12812f1b2bcae71277ec293.tar.gz
Fix formatting warning.
MFC after: 1 week
-rw-r--r--tools/tools/bootparttest/bootparttest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/bootparttest/bootparttest.c b/tools/tools/bootparttest/bootparttest.c
index 2b93ee0..f0fb8a9 100644
--- a/tools/tools/bootparttest/bootparttest.c
+++ b/tools/tools/bootparttest/bootparttest.c
@@ -54,7 +54,7 @@ diskread(void *arg, void *buf, size_t blocks, off_t offset)
struct disk *dp;
dp = (struct disk *)arg;
- printf("%s: read %d blocks from the offset %jd [+%jd]\n", dp->name,
+ printf("%s: read %lu blocks from the offset %jd [+%jd]\n", dp->name,
blocks, offset, dp->offset);
if (offset >= dp->mediasize / dp->sectorsize)
return (-1);
OpenPOWER on IntegriCloud