aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@FreeBSD.org>2013-02-24 19:32:43 +0000
committerSergey Kandaurov <pluknet@FreeBSD.org>2013-02-24 19:32:43 +0000
commit3dfcb0da4b00ce7410a53670da8816b7353398ee (patch)
tree979ca1f8762a91ffd03b0ef98b46e5557a6fec3d /sbin/fsdb
parenta25349736dac12e2b5e36bf4bbe46df16ccb1c1a (diff)
downloadsrc-3dfcb0da4b00ce7410a53670da8816b7353398ee.tar.gz
src-3dfcb0da4b00ce7410a53670da8816b7353398ee.zip
Catch up with internal API changes for initbarea() and getdatablk()
of fsck_ffs introduced with r247212. Submitted by: David Wolfskill <david@catwhisker.org>
Notes
Notes: svn path=/head/; revision=247234
Diffstat (limited to 'sbin/fsdb')
-rw-r--r--sbin/fsdb/fsdbutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsdb/fsdbutil.c b/sbin/fsdb/fsdbutil.c
index 91153d77f200..ba0b64e72801 100644
--- a/sbin/fsdb/fsdbutil.c
+++ b/sbin/fsdb/fsdbutil.c
@@ -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++) {