From fb576014bb12d0ceb12812f1b2bcae71277ec293 Mon Sep 17 00:00:00 2001 From: ae Date: Tue, 6 Aug 2013 10:35:05 +0000 Subject: Fix formatting warning. MFC after: 1 week --- tools/tools/bootparttest/bootparttest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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); -- cgit v1.1