aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2001-04-23 21:39:14 +0000
committerIan Dowse <iedowse@FreeBSD.org>2001-04-23 21:39:14 +0000
commitd164d805c75ddf267a3e8f38442740557249bec4 (patch)
treefde1772334a99f6c4d5f467b12d2d315d7fbd751 /sbin/fsdb
parentd51352c9b16ff58fdec1705a1320912c328d3a3e (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.c1
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",