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

Andrey V. Elsukov ae at FreeBSD.org
Mon Aug 6 08:39:30 UTC 2012


Author: ae
Date: Mon Aug  6 08:39:29 2012
New Revision: 239087
URL: http://svn.freebsd.org/changeset/base/239087

Log:
  Add to the debug output the offset from the parent partitioning scheme.

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

Modified: head/tools/tools/bootparttest/bootparttest.c
==============================================================================
--- head/tools/tools/bootparttest/bootparttest.c	Mon Aug  6 07:20:25 2012	(r239086)
+++ head/tools/tools/bootparttest/bootparttest.c	Mon Aug  6 08:39:29 2012	(r239087)
@@ -54,8 +54,8 @@ diskread(void *arg, void *buf, size_t bl
 	struct disk *dp;
 
 	dp = (struct disk *)arg;
-	printf("%s: read %d blocks from the offset %jd\n", dp->name,
-	    blocks, offset);
+	printf("%s: read %d 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