git: 84768d114951 - main - fsdb: add missing bufinit() call
Chuck Silvers
chs at FreeBSD.org
Tue May 25 16:44:24 UTC 2021
The branch main has been updated by chs:
URL: https://cgit.FreeBSD.org/src/commit/?id=84768d114951e88288024f09d4beae0956c3cf21
commit 84768d114951e88288024f09d4beae0956c3cf21
Author: Chuck Silvers <chs at FreeBSD.org>
AuthorDate: 2021-05-25 16:42:10 +0000
Commit: Chuck Silvers <chs at FreeBSD.org>
CommitDate: 2021-05-25 16:42:10 +0000
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)
More information about the dev-commits-src-main
mailing list