summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-10-28 10:52:19 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-10-28 10:52:19 +0000
commit477eedcd42bd0217f95f0dd858b7090e9fd63966 (patch)
tree1cafac12b6793f38c70a3c8ce0d2b89d0b945e68 /sys/kern
parent722ff010b29efb57e67d786ef2464eb11a4162b2 (diff)
dkcsum is *really* mandatory. XXX will be done differently later.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 5753d2fb76a..02049b7dc4c 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.26 1997/10/06 20:19:49 deraadt Exp $ */
+/* $OpenBSD: init_main.c,v 1.27 1997/10/28 10:52:17 niklas Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -334,6 +334,14 @@ main(framep)
roundrobin(NULL);
schedcpu(NULL);
+#ifdef i386
+ /* XXX This is only a transient solution */
+ {
+ extern dkcsumattach __P((void));
+ dkcsumattach();
+ }
+#endif
+
/* Mount the root file system. */
if ((*mountroot)())
panic("cannot mount root");