summaryrefslogtreecommitdiff
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 569e7e4..7ab50cf 100644
--- a/init/init.c
+++ b/init/init.c
@@ -782,7 +782,7 @@ static void exec_signal(int sig)
execl(a->command, a->command, NULL);
message(CONSOLE | LOG, "\rexec of '%s' failed: %s\n",
- a->command, sys_errlist[errno]);
+ a->command, strerror(errno));
sync();
sleep(2);
init_reboot(RB_HALT_SYSTEM);