diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/halt.c | 6 | ||||
-rw-r--r-- | init/init.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/init/halt.c b/init/halt.c index fe3cb9e75..7aea8cfec 100644 --- a/init/halt.c +++ b/init/halt.c | |||
@@ -7,19 +7,19 @@ | |||
7 | * Licensed under GPLv2, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config HALT | 9 | //config:config HALT |
10 | //config: bool "halt (4 kb)" | 10 | //config: bool "halt (4.3 kb)" |
11 | //config: default y | 11 | //config: default y |
12 | //config: help | 12 | //config: help |
13 | //config: Stop all processes and halt the system. | 13 | //config: Stop all processes and halt the system. |
14 | //config: | 14 | //config: |
15 | //config:config POWEROFF | 15 | //config:config POWEROFF |
16 | //config: bool "poweroff (4 kb)" | 16 | //config: bool "poweroff (4.3 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: help | 18 | //config: help |
19 | //config: Stop all processes and power off the system. | 19 | //config: Stop all processes and power off the system. |
20 | //config: | 20 | //config: |
21 | //config:config REBOOT | 21 | //config:config REBOOT |
22 | //config: bool "reboot (4 kb)" | 22 | //config: bool "reboot (4.3 kb)" |
23 | //config: default y | 23 | //config: default y |
24 | //config: help | 24 | //config: help |
25 | //config: Stop all processes and reboot the system. | 25 | //config: Stop all processes and reboot the system. |
diff --git a/init/init.c b/init/init.c index 1e1ce833d..2ee1e4cde 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -500,7 +500,7 @@ static pid_t run(const struct init_action *a) | |||
500 | 500 | ||
501 | /* Open the new terminal device */ | 501 | /* Open the new terminal device */ |
502 | if (!open_stdio_to_tty(a->terminal)) | 502 | if (!open_stdio_to_tty(a->terminal)) |
503 | _exit(EXIT_FAILURE); | 503 | _exit_FAILURE(); |
504 | 504 | ||
505 | /* NB: on NOMMU we can't wait for input in child, so | 505 | /* NB: on NOMMU we can't wait for input in child, so |
506 | * "askfirst" will work the same as "respawn". */ | 506 | * "askfirst" will work the same as "respawn". */ |