aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/setup.c
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/fsck_ffs/setup.c
parentd51352c9b16ff58fdec1705a1320912c328d3a3e (diff)
downloadsrc-d164d805c75ddf267a3e8f38442740557249bec4.tar.gz
src-d164d805c75ddf267a3e8f38442740557249bec4.zip
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/fsck_ffs/setup.c')
-rw-r--r--sbin/fsck_ffs/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c
index 517547dd9be4..24ef003eeea4 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;