From 9def89e999478f2800a0e6ec33fab1dc9d18b659 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 25 Jul 2020 15:22:22 +0200 Subject: Fix references to startup in comments --- auth/auth.c | 2 +- exec/main.c | 2 +- libdiskfs/boot-start.c | 4 ++-- 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 -- cgit v1.2.3