mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
Add to the debug output the offset from the parent partitioning scheme.
This commit is contained in:
parent
0af671184d
commit
23f180dfb1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239087
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user