diff options
author | Justus Winter <justus@gnupg.org> | 2016-08-07 15:16:57 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-08-07 23:17:33 +0200 |
commit | ceae83bd25aadee094ec9d3a95cf27510cea2037 (patch) | |
tree | 4f774137ec31cc8e2563825a6d4f84ca7406289e /proc/msg.c | |
parent | bc170131016969f1d79409337833046ae1f4501b (diff) | |
download | hurd-ceae83bd25aadee094ec9d3a95cf27510cea2037.tar.gz hurd-ceae83bd25aadee094ec9d3a95cf27510cea2037.tar.bz2 hurd-ceae83bd25aadee094ec9d3a95cf27510cea2037.zip |
proc: Fix references to the startup server.
* proc/main.c: Fix references to the startup server in code and
comments.
* proc/mgt.c: Likewise.
* proc/msg.c: Likewise.
* proc/proc.h: Likewise.
Diffstat (limited to 'proc/msg.c')
-rw-r--r-- | proc/msg.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -35,11 +35,11 @@ check_message_return (struct proc *p, void *availpaddr) } } -/* Register ourselves with init. */ +/* Register ourselves with statup. */ static void * -tickle_init (void *initport) +tickle_statup (void *statupport) { - startup_essential_task ((mach_port_t) initport, mach_task_self (), + startup_essential_task ((mach_port_t) statupport, mach_task_self (), MACH_PORT_NULL, "proc", _hurd_host_priv); return NULL; } @@ -65,11 +65,11 @@ S_proc_setmsgport (struct proc *p, if (p == startup_proc && startup_fallback) { - /* Init is single threaded, so we can't delay our reply for + /* Statup is single threaded, so we can't delay our reply for the essential task RPC; spawn a thread to do it. */ pthread_t thread; error_t err; - err = pthread_create (&thread, NULL, tickle_init, + err = pthread_create (&thread, NULL, tickle_statup, (void*) (uintptr_t) msgport); if (!err) pthread_detach (thread); |