aboutsummaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdinit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hurd/hurdinit.c b/hurd/hurdinit.c
index cd37065..eccbd8e 100644
--- a/hurd/hurdinit.c
+++ b/hurd/hurdinit.c
@@ -70,10 +70,6 @@ _hurd_init (int flags, char **argv,
__task_set_special_port (__mach_task_self (), TASK_BOOTSTRAP_PORT,
portarray[INIT_PORT_BOOTSTRAP]);
- /* Tell the proc server we exist, if it does. */
- if (portarray[INIT_PORT_PROC] != MACH_PORT_NULL)
- _hurd_proc_init (argv);
-
if (intarraysize > INIT_UMASK)
_hurd_umask = intarray[INIT_UMASK] & 0777;
else
@@ -82,6 +78,10 @@ _hurd_init (int flags, char **argv,
if (intarraysize > INIT_TRACEMASK)
_hurdsig_traced = intarray[INIT_TRACEMASK];
+ /* Tell the proc server we exist, if it does. */
+ if (portarray[INIT_PORT_PROC] != MACH_PORT_NULL)
+ _hurd_proc_init (argv);
+
/* All done with init ints and ports. */
__vm_deallocate (__mach_task_self (),
(vm_address_t) intarray,