summaryrefslogtreecommitdiff
path: root/proc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc/main.c')
-rw-r--r--proc/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proc/main.c b/proc/main.c
index e9f83f90..c19c1e61 100644
--- a/proc/main.c
+++ b/proc/main.c
@@ -58,6 +58,7 @@ main ()
mach_port_allocate (mach_task_self (), MACH_PORT_RIGHT_PORT_SET,
&request_portset);
+ /* new_proc depends on these assignments which must occur in this order. */
self_proc = new_proc (mach_task_self ()); /* proc 0 is the procserver */
startup_proc = new_proc (MACH_PORT_NULL); /* proc 1 is init */