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:
parent
00e7a55367
commit
84768d1149
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user