summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-20 16:05:45 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-20 16:05:45 +0000
commitac17e6b1fb5d516d0cd2090a8e8a16b5cfa7b077 (patch)
tree0fdb91050a064a6e620d54c1c4434b934b0a74e2 /proc
parent47863130c63115a5c1743aed862b8305a188ad81 (diff)
(new_proc): Initialize P->p_wakeup.
Diffstat (limited to 'proc')
-rw-r--r--proc/mgt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index da98d325..08203bb3 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -567,6 +567,8 @@ new_proc (task_t task)
p->p_msgport = MACH_PORT_NULL;
+ condition_init (&p->p_wakeup);
+
p->p_argv = p->p_envp = p->p_status = 0;
p->p_exec = 0;