svn commit: r253986 - head/tools/tools/bootparttest

Andrey V. Elsukov ae at FreeBSD.org
Tue Aug 6 10:35:06 UTC 2013


Author: ae
Date: Tue Aug  6 10:35:05 2013
New Revision: 253986
URL: http://svnweb.freebsd.org/changeset/base/253986

Log:
  Fix formatting warning.
  
  MFC after:	1 week

Modified:
  head/tools/tools/bootparttest/bootparttest.c

Modified: head/tools/tools/bootparttest/bootparttest.c
==============================================================================
--- head/tools/tools/bootparttest/bootparttest.c	Tue Aug  6 10:03:44 2013	(r253985)
+++ head/tools/tools/bootparttest/bootparttest.c	Tue Aug  6 10:35:05 2013	(r253986)
@@ -54,7 +54,7 @@ diskread(void *arg, void *buf, size_t bl
 	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);


More information about the svn-src-all mailing list