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);
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to