diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-26 21:36:32 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-26 21:36:32 +0000 |
commit | 1130976f8ec187551c5c485bef3a0464a72f06a1 (patch) | |
tree | 745004e33cdc33d79cd23dae625662c47b63ea44 /init | |
parent | c3b7f7d6e710ad896349cd5a2e913d3efc79275d (diff) |
Eliminate use of obsolete sys_errlist[]
-Erik
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 2 |
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) 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); |