diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index e09810753c49..4795779ac256 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -916,6 +916,7 @@ kern_wait(struct thread *td, pid_t pid, int *status, int options, if (status) *status = SIGCONT; + return (0); } PROC_UNLOCK(p); }