aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/setup.c
diff options
context:
space:
mode:
authorRobert Wing <rew@FreeBSD.org>2021-05-29 02:59:07 +0000
committerRobert Wing <rew@FreeBSD.org>2021-05-29 02:59:07 +0000
commit9b0f1d64b06cdeacb7ee5a1ca95bb23c5381f12c (patch)
treeadd60deec4ecdce3038b4543b7519c9dca446b16 /sbin/fsck_ffs/setup.c
parent871291c8d478c5898fc7b4a700b6ab7733bb1b37 (diff)
downloadsrc-9b0f1d64b06cdeacb7ee5a1ca95bb23c5381f12c.tar.gz
src-9b0f1d64b06cdeacb7ee5a1ca95bb23c5381f12c.zip
Revert "Fix fsck_ufs segfaults with gjournal (SU+J)"
Fix fsck for 32-bit platforms. This reverts commit f190f9193bc10a8193c87e0a02fa91400e4eb159.
Diffstat (limited to 'sbin/fsck_ffs/setup.c')
-rw-r--r--sbin/fsck_ffs/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c
index d69beff879e9..0ae7f1bbb28f 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -298,6 +298,7 @@ setup(char *dev)
(uintmax_t)numdirs * sizeof(struct inoinfo *));
goto badsb;
}
+ bufinit();
if (sblock.fs_flags & FS_DOSOFTDEP)
usedsoftdep = 1;
else