summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-11-28 02:11:33 +0000
committerderaadt <deraadt@openbsd.org>2004-11-28 02:11:33 +0000
commit54f690d2b51fe3791beab539a1014f978081139b (patch)
treecd98af34e3ec7dc358502cf72ef155df318d54be /sys/kern/init_main.c
parentrev 1.74 (diff)
downloadwireguard-openbsd-54f690d2b51fe3791beab539a1014f978081139b.tar.xz
wireguard-openbsd-54f690d2b51fe3791beab539a1014f978081139b.zip
mountroothooks are called after the root filesystem is mounted.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 119bcecce17..7b13c6c32c0 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.120 2004/11/23 19:08:55 miod Exp $ */
+/* $OpenBSD: init_main.c,v 1.121 2004/11/28 02:11:33 deraadt Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -514,6 +514,8 @@ main(framep)
cpu_boot_secondary_processors();
#endif
+ domountroothooks();
+
/*
* Okay, now we can let init(8) exec! It's off to userland!
*/