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:
pluknet 2013-02-24 19:32:43 +00:00
parent 084e5da56e
commit 60edaad227

View File

@ -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++) {