summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 7521449..56ad939 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -271,7 +271,7 @@ fork1(td, flags, pages, procp)
#ifdef MAC
mac_init_proc(newproc);
#endif
- knlist_init(&newproc->p_klist, &newproc->p_mtx);
+ knlist_init(&newproc->p_klist, &newproc->p_mtx, NULL, NULL, NULL);
/* We have to lock the process tree while we look for a pid. */
sx_slock(&proctree_lock);
OpenPOWER on IntegriCloud