aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-26 21:36:32 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-26 21:36:32 +0000
commit1130976f8ec187551c5c485bef3a0464a72f06a1 (patch)
tree745004e33cdc33d79cd23dae625662c47b63ea44 /init
parentc3b7f7d6e710ad896349cd5a2e913d3efc79275d (diff)
downloadbusybox-w32-1130976f8ec187551c5c485bef3a0464a72f06a1.tar.gz
busybox-w32-1130976f8ec187551c5c485bef3a0464a72f06a1.tar.bz2
busybox-w32-1130976f8ec187551c5c485bef3a0464a72f06a1.zip
Eliminate use of obsolete sys_errlist[]
-Erik
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);