diff options
author | ae <ae@FreeBSD.org> | 2012-08-06 08:39:29 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2012-08-06 08:39:29 +0000 |
commit | 798113957def40b6bf34270b4198ff036fa6e950 (patch) | |
tree | 588dcf07109b996c18d75d28f100ecfbe8f9d069 /tools/tools | |
parent | 6a00afffeaf87aaef19942392d397a7025ba1651 (diff) | |
download | FreeBSD-src-798113957def40b6bf34270b4198ff036fa6e950.zip FreeBSD-src-798113957def40b6bf34270b4198ff036fa6e950.tar.gz |
Add to the debug output the offset from the parent partitioning scheme.
Diffstat (limited to 'tools/tools')
-rw-r--r-- | tools/tools/bootparttest/bootparttest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/bootparttest/bootparttest.c b/tools/tools/bootparttest/bootparttest.c index 9543883..2b93ee0 100644 --- a/tools/tools/bootparttest/bootparttest.c +++ b/tools/tools/bootparttest/bootparttest.c @@ -54,8 +54,8 @@ 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\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); |