summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
authorEric Andersen2002-08-26 21:36:32 +0000
committerEric Andersen2002-08-26 21:36:32 +0000
commit1130976f8ec187551c5c485bef3a0464a72f06a1 (patch)
tree745004e33cdc33d79cd23dae625662c47b63ea44 /init/init.c
parentc3b7f7d6e710ad896349cd5a2e913d3efc79275d (diff)
downloadbusybox-1130976f8ec187551c5c485bef3a0464a72f06a1.zip
busybox-1130976f8ec187551c5c485bef3a0464a72f06a1.tar.gz
Eliminate use of obsolete sys_errlist[]
-Erik
Diffstat (limited to 'init/init.c')
-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);