aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index 569e7e460..7ab50cffe 100644
--- a/init/init.c
+++ b/init/init.c
@@ -782,7 +782,7 @@ static void exec_signal(int sig)
782 execl(a->command, a->command, NULL); 782 execl(a->command, a->command, NULL);
783 783
784 message(CONSOLE | LOG, "\rexec of '%s' failed: %s\n", 784 message(CONSOLE | LOG, "\rexec of '%s' failed: %s\n",
785 a->command, sys_errlist[errno]); 785 a->command, strerror(errno));
786 sync(); 786 sync();
787 sleep(2); 787 sleep(2);
788 init_reboot(RB_HALT_SYSTEM); 788 init_reboot(RB_HALT_SYSTEM);