The branch main has been updated by mckusick: URL: https://cgit.FreeBSD.org/src/commit/?id=262b581d1791fa5905d8771bef7fc201ed46d790
commit 262b581d1791fa5905d8771bef7fc201ed46d790 Author: Kirk McKusick <mckus...@freebsd.org> AuthorDate: 2022-05-05 23:57:03 +0000 Commit: Kirk McKusick <mckus...@freebsd.org> CommitDate: 2022-05-05 23:58:03 +0000 Properly specify the level of indirect block being looked up. The value is used only for diagnostic purposes so no functional change should result. --- sbin/fsck_ffs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c index dafc99bd92da..47f72c84a1f2 100644 --- a/sbin/fsck_ffs/inode.c +++ b/sbin/fsck_ffs/inode.c @@ -213,7 +213,7 @@ iblock(struct inodesc *idesc, off_t isize, int type) idesc->id_lbn++; n = (*func)(idesc); } else { - n = iblock(idesc, isize, type); + n = iblock(idesc, isize, type - 1); idesc->id_level++; } if (n & STOP) {