summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-12-11 16:07:01 +0000
committermpi <mpi@openbsd.org>2015-12-11 16:07:01 +0000
commitef89f9e63174a1a2a3a51b4fe036c160c283438f (patch)
treef67e6291b8e0cdf4edc3ffba0686a3a749e3549a /sys/kern/init_main.c
parentWe cannot do hooks_find and then hooks_remove because it might have come (diff)
downloadwireguard-openbsd-ef89f9e63174a1a2a3a51b4fe036c160c283438f.tar.xz
wireguard-openbsd-ef89f9e63174a1a2a3a51b4fe036c160c283438f.zip
Replace mountroothook_establish(9) by config_mountroot(9) a narrower API
similar to config_defer(9). ok mikeb@, deraadt@
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 9de115cb56c..94b65a6630e 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.246 2015/11/08 20:45:57 naddy Exp $ */
+/* $OpenBSD: init_main.c,v 1.247 2015/12/11 16:07:02 mpi Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -536,7 +536,7 @@ main(void *framep)
cpu_boot_secondary_processors();
#endif
- domountroothooks();
+ config_process_deferred_mountroot();
/*
* Okay, now we can let init(8) exec! It's off to userland!