diff options
author | Ian Dowse <iedowse@FreeBSD.org> | 2001-04-23 21:39:14 +0000 |
---|---|---|
committer | Ian Dowse <iedowse@FreeBSD.org> | 2001-04-23 21:39:14 +0000 |
commit | d164d805c75ddf267a3e8f38442740557249bec4 (patch) | |
tree | fde1772334a99f6c4d5f467b12d2d315d7fbd751 /sbin/fsdb | |
parent | d51352c9b16ff58fdec1705a1320912c328d3a3e (diff) |
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.
Notes
Notes:
svn path=/head/; revision=75884
Diffstat (limited to 'sbin/fsdb')
-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 5d54debe0d6c..43e0d263c026 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", |