summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2016-09-18 12:36:28 +0000
committerjasper <jasper@openbsd.org>2016-09-18 12:36:28 +0000
commit033b4e9df4c8dbb751850cce30a9c676986d4523 (patch)
tree687a0f66df2b6f85bf283fb22ba4fef5505245d4
parentGo down the right path in the _LIBUNWIND_ARM_EHABI case. (diff)
downloadwireguard-openbsd-033b4e9df4c8dbb751850cce30a9c676986d4523.tar.xz
wireguard-openbsd-033b4e9df4c8dbb751850cce30a9c676986d4523.zip
add missing call to db_ctf_init().
this was part of the larger diff that was ok guenther@ mpi@, somehow I forgot to commit this particular piece.
-rw-r--r--sys/kern/init_main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index b0710b9f935..f64a945a97c 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.257 2016/09/04 09:22:29 mpi Exp $ */
+/* $OpenBSD: init_main.c,v 1.258 2016/09/18 12:36:28 jasper Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -139,6 +139,7 @@ void start_cleaner(void *);
void start_update(void *);
void start_reaper(void *);
void crypto_init(void);
+void db_ctf_init(void);
void prof_init(void);
void init_exec(void);
void kqueue_init(void);
@@ -530,6 +531,10 @@ main(void *framep)
config_process_deferred_mountroot();
+#ifdef DDBCTF
+ db_ctf_init();
+#endif
+
/*
* Okay, now we can let init(8) exec! It's off to userland!
*/