summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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