svn commit: r254333 - stable/9/tools/tools/bootparttest

Andrey V. Elsukov ae at FreeBSD.org
Wed Aug 14 18:33:40 UTC 2013


Author: ae
Date: Wed Aug 14 18:33:39 2013
New Revision: 254333
URL: http://svnweb.freebsd.org/changeset/base/254333

Log:
  MFC r253986:
    Fix formatting warning.

Modified:
  stable/9/tools/tools/bootparttest/bootparttest.c
Directory Properties:
  stable/9/tools/tools/bootparttest/   (props changed)

Modified: stable/9/tools/tools/bootparttest/bootparttest.c
==============================================================================
--- stable/9/tools/tools/bootparttest/bootparttest.c	Wed Aug 14 17:49:08 2013	(r254332)
+++ stable/9/tools/tools/bootparttest/bootparttest.c	Wed Aug 14 18:33:39 2013	(r254333)
@@ -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-stable mailing list