summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2013-02-24 19:32:43 +0000
committerpluknet <pluknet@FreeBSD.org>2013-02-24 19:32:43 +0000
commit60edaad227012ae225dd29f164d2612342298cfe (patch)
tree979ca1f8762a91ffd03b0ef98b46e5557a6fec3d /sbin/fsdb
parent084e5da56e3c4bc6f9c6ed314310a9b8af2c695b (diff)
downloadFreeBSD-src-60edaad227012ae225dd29f164d2612342298cfe.zip
FreeBSD-src-60edaad227012ae225dd29f164d2612342298cfe.tar.gz
Catch up with internal API changes for initbarea() and getdatablk()
of fsck_ffs introduced with r247212. Submitted by: David Wolfskill <david@catwhisker.org>
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 91153d7..ba0b64e 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++) {
OpenPOWER on IntegriCloud