From 84768d114951e88288024f09d4beae0956c3cf21 Mon Sep 17 00:00:00 2001 From: Chuck Silvers Date: Tue, 25 May 2021 09:42:10 -0700 Subject: [PATCH] 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 --- sbin/fsdb/fsdb.c | 1 + 1 file changed, 1 insertion(+) 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)