1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

fsdb: add missing bufinit() call

The bufinit() call in fsck_ffs was moved in commit f190f9193b
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
This commit is contained in:
Chuck Silvers 2021-05-25 09:42:10 -07:00
parent 00e7a55367
commit 84768d1149

View File

@ -111,6 +111,7 @@ main(int argc, char *argv[])
fsys = argv[0]; fsys = argv[0];
sblock_init(); sblock_init();
bufinit();
if (!setup(fsys)) if (!setup(fsys))
errx(1, "cannot set up file system `%s'", fsys); errx(1, "cannot set up file system `%s'", fsys);
if (fswritefd < 0) if (fswritefd < 0)