Catch up with internal API changes for initbarea() and getdatablk()
of fsck_ffs introduced with r247212. Submitted by: David Wolfskill <david@catwhisker.org>
This commit is contained in:
parent
084e5da56e
commit
60edaad227
@ -239,11 +239,11 @@ printindir(ufs2_daddr_t blk, int level, char *bufp)
|
||||
/* for the final indirect level, don't use the cache */
|
||||
bp = &buf;
|
||||
bp->b_un.b_buf = bufp;
|
||||
initbarea(bp);
|
||||
initbarea(bp, BT_UNKNOWN);
|
||||
|
||||
getblk(bp, blk, sblock.fs_bsize);
|
||||
} else
|
||||
bp = getdatablk(blk, sblock.fs_bsize);
|
||||
bp = getdatablk(blk, sblock.fs_bsize, BT_UNKNOWN);
|
||||
|
||||
cpl = charsperline();
|
||||
for (i = charssofar = 0; i < NINDIR(&sblock); i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user