summaryrefslogtreecommitdiff
path: root/proc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc/main.c')
-rw-r--r--proc/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proc/main.c b/proc/main.c
index 252edd1c..f036fbf3 100644
--- a/proc/main.c
+++ b/proc/main.c
@@ -100,6 +100,8 @@ main (int argc, char **argv, char **envp)
_hurd_port_set (&_hurd_ports[INIT_PORT_AUTH], authserver);
mach_port_deallocate (mach_task_self (), boot);
+ add_proc_to_hash (startup_proc); /* Now that we have the task port. */
+
/* Set our own argv and envp locations. */
self_proc->p_argv = (int) argv;
self_proc->p_envp = (int) envp;