summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-07-25 15:22:22 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-07-25 15:22:22 +0200
commit9def89e999478f2800a0e6ec33fab1dc9d18b659 (patch)
treed5c5ca91825df8b6808152b6dfce149c08bd7cae
parent94779df38295bcd1b07795970685e0e5e2ce2a81 (diff)
Fix references to startup in comments
-rw-r--r--auth/auth.c2
-rw-r--r--exec/main.c2
-rw-r--r--libdiskfs/boot-start.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/auth/auth.c b/auth/auth.c
index bc5e87aa..886a9cfb 100644
--- a/auth/auth.c
+++ b/auth/auth.c
@@ -503,7 +503,7 @@ main (int argc, char **argv)
idvec_merge (&firstauth->egids, &firstauth->euids);
idvec_merge (&firstauth->agids, &firstauth->auids);
- /* Fetch our bootstrap port and contact the bootstrap filesystem. */
+ /* Fetch our bootstrap port and contact startup. */
err = task_get_bootstrap_port (mach_task_self (), &boot);
assert_perror_backtrace (err);
if (boot == MACH_PORT_NULL)
diff --git a/exec/main.c b/exec/main.c
index 84745991..9825d9cf 100644
--- a/exec/main.c
+++ b/exec/main.c
@@ -356,7 +356,7 @@ S_exec_init (struct trivfs_protid *protid,
}
mach_port_deallocate (mach_task_self (), procserver);
- /* Call startup_essential task last; init assumes we are ready to
+ /* Call startup_essential task last; startup assumes we are ready to
run once we call it. */
err = startup_essential_task (startup, mach_task_self (), MACH_PORT_NULL,
"exec", host_priv);
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index a93a6227..29b8acc6 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -499,8 +499,8 @@ diskfs_S_fsys_init (struct diskfs_control *pt,
return EOPNOTSUPP;
initdone = 1;
- /* init is single-threaded, so we must reply to its RPC before doing
- anything which might attempt to send an RPC to init. */
+ /* startup is single-threaded, so we must reply to its RPC before doing
+ anything which might attempt to send an RPC to startup. */
fsys_init_reply (reply, replytype, 0);
/* Allocate our references here; _hurd_init will consume a reference