aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Silvers <chs@FreeBSD.org>2021-05-25 16:42:10 +0000
committerChuck Silvers <chs@FreeBSD.org>2021-05-25 16:42:10 +0000
commit84768d114951e88288024f09d4beae0956c3cf21 (patch)
treed6e9750cf86d46b054fa485b7700333704cfe2e5
parent00e7a553675daead4c0d803449eb69e7612d5bf4 (diff)
downloadsrc-84768d114951e88288024f09d4beae0956c3cf21.tar.gz
src-84768d114951e88288024f09d4beae0956c3cf21.zip
fsdb: add missing bufinit() call
The bufinit() call in fsck_ffs was moved in commit f190f9193bc10 from a function that is shared with fsdb to one that is private to fsck_ffs, so add a bufinit() call in fsdb to compensate for that. Reviewed by: mckusick Sponsored by: Netflix
-rw-r--r--sbin/fsdb/fsdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c
index 785aeb2b5a75..b8f0dd9f9772 100644
--- a/sbin/fsdb/fsdb.c
+++ b/sbin/fsdb/fsdb.c
@@ -111,6 +111,7 @@ main(int argc, char *argv[])
fsys = argv[0];
sblock_init();
+ bufinit();
if (!setup(fsys))
errx(1, "cannot set up file system `%s'", fsys);
if (fswritefd < 0)