diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-04-23 21:39:14 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-04-23 21:39:14 +0000 |
commit | f0878d962fc4a1031424f1d120b480d6c33ef7d5 (patch) | |
tree | 36501174c20cd67c300aac6611c57980765b5be3 /sbin/fsdb/fsdb.c | |
parent | bcc74c4e75a9e6474c0234e24939a6bf01ab3157 (diff) | |
download | FreeBSD-src-f0878d962fc4a1031424f1d120b480d6c33ef7d5.zip FreeBSD-src-f0878d962fc4a1031424f1d120b480d6c33ef7d5.tar.gz |
In fsdb, call sblock_init() which is now necessary to initialise
the global variable dev_bsize. Add a prototype for sblock_init()
to fsck.h, and set the return type correctly.
Diffstat (limited to 'sbin/fsdb/fsdb.c')
-rw-r--r-- | sbin/fsdb/fsdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c index 5d54deb..43e0d26 100644 --- a/sbin/fsdb/fsdb.c +++ b/sbin/fsdb/fsdb.c @@ -100,6 +100,7 @@ main(argc, argv) else fsys = argv[0]; + sblock_init(); if (!setup(fsys)) errx(1, "cannot set up file system `%s'", fsys); printf("%s file system `%s'\nLast Mounted on %s\n", |