aboutsummaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-19 12:10:18 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-19 12:10:18 +0000
commita58a637bed06f6d794fcf822d08df926812ccd23 (patch)
treeef1b4dcc8bdd64025b680fdc5b1b3651ff2edbaa /init/init.c
parent99a61842df559f0cfc8613436b3bf89f4e757abf (diff)
downloadbusybox-a58a637bed06f6d794fcf822d08df926812ccd23.tar.gz
init: fix comments
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index 8eaf61f96..a82b45b7c 100644
--- a/init/init.c
+++ b/init/init.c
@@ -577,7 +577,7 @@ static void halt_reboot_pwoff(int sig)
loop_forever();
}
-/* Handler for HUP and QUIT - exec "restart" action,
+/* Handler for QUIT - exec "restart" action,
* else (no such action defined) do nothing */
static void exec_restart_action(int sig ATTRIBUTE_UNUSED)
{
@@ -715,7 +715,7 @@ static void parse_inittab(void)
/* Swapoff on halt/reboot */
if (ENABLE_SWAPONOFF)
new_init_action(SHUTDOWN, "swapoff -a", "");
- /* Prepare to restart init when a HUP is received */
+ /* Prepare to restart init when a QUIT is received */
new_init_action(RESTART, "init", "");
/* Askfirst shell on tty1-4 */
new_init_action(ASKFIRST, bb_default_login_shell, "");