diff options
-rw-r--r-- | sbin/fsck_ffs/fsck.h | 1 | ||||
-rw-r--r-- | sbin/fsck_ffs/setup.c | 1 | ||||
-rw-r--r-- | sbin/fsdb/fsdb.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h index dee89c7..813202b 100644 --- a/sbin/fsck_ffs/fsck.h +++ b/sbin/fsck_ffs/fsck.h @@ -315,6 +315,7 @@ void pwarn __P((const char *fmt, ...)); int readsb __P((int listerr)); int reply __P((char *question)); void rwerror __P((char *mesg, ufs_daddr_t blk)); +void sblock_init __P((void)); void setinodebuf __P((ino_t)); int setup __P((char *dev)); void voidquit __P((int)); diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c index 517547d..24ef003 100644 --- a/sbin/fsck_ffs/setup.c +++ b/sbin/fsck_ffs/setup.c @@ -475,6 +475,7 @@ badsb(listerr, s) pfatal("BAD SUPER BLOCK: %s\n", s); } +void sblock_init() { struct disklabel *lp; 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", |