aboutsummaryrefslogtreecommitdiff
path: root/proc/main.c
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-08-07 15:16:57 +0200
committerJustus Winter <justus@gnupg.org>2016-08-07 23:17:33 +0200
commitceae83bd25aadee094ec9d3a95cf27510cea2037 (patch)
tree4f774137ec31cc8e2563825a6d4f84ca7406289e /proc/main.c
parentbc170131016969f1d79409337833046ae1f4501b (diff)
downloadhurd-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/main.c')
-rw-r--r--proc/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/proc/main.c b/proc/main.c
index f78b2af2..c4936f68 100644
--- a/proc/main.c
+++ b/proc/main.c
@@ -111,7 +111,7 @@ main (int argc, char **argv, char **envp)
err = task_get_bootstrap_port (mach_task_self (), &boot);
assert_perror (err);
if (boot == MACH_PORT_NULL)
- error (2, 0, "proc server can only be run by init during boot");
+ error (2, 0, "proc server can only be run by startup during boot");
proc_bucket = ports_create_bucket ();
proc_class = ports_create_class (0, 0);
@@ -124,7 +124,7 @@ main (int argc, char **argv, char **envp)
/* Create the initial proc object for init (PID 1). */
init_proc = create_init_proc ();
- /* Create the startup proc object for /hurd/init (PID 2). */
+ /* Create the startup proc object for /hurd/startup (PID 2). */
startup_proc = allocate_proc (MACH_PORT_NULL);
startup_proc->p_deadmsg = 1;
complete_proc (startup_proc, HURD_PID_STARTUP);
@@ -168,7 +168,6 @@ main (int argc, char **argv, char **envp)
/* Get our stderr set up to print on the console, in case we have
to panic or something. */
mach_port_t cons;
- error_t err;
err = device_open (_hurd_device_master, D_READ|D_WRITE, "console", &cons);
assert_perror (err);
stdin = mach_open_devstream (cons, "r");