diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-10-10 08:20:21 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-10-10 08:20:21 +0400 |
commit | 71ae64bdc6b044eef0a9f3bebd85cc4a6b67362f (patch) | |
tree | 802990cf39a805f253b9d32f3888a7c749babd01 /init | |
parent | fdfe298a966da0e6eecdc355efd640acf73c00e5 (diff) |
last_patch61 from vodz:
New complex patch for decrease size devel version. Requires previous patch.
Also removed small problems from dutmp and tar applets.
Also includes vodz' last_patch61_2:
Last patch correcting comment for #endif and more integrated
with libbb (very reduce size if used "cat" applet also).
Requires last_patch61 for modutils/config.in.
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c index 3b0a66a24..edbd90bfe 100644 --- a/init/init.c +++ b/init/init.c @@ -660,8 +660,7 @@ static pid_t run(struct init_action *a) execve(cmdpath, cmd, environment); /* We're still here? Some error happened. */ - message(LOG | CONSOLE, "\rBummer, could not run '%s': %s\n", cmdpath, - strerror(errno)); + message(LOG | CONSOLE, "\rBummer, could not run '%s': %m\n", cmdpath); _exit(-1); } sigprocmask(SIG_SETMASK, &omask, NULL); @@ -785,8 +784,8 @@ static void exec_signal(int sig) message(CONSOLE | LOG, "\rTrying to re-exec %s\n", a->command); execl(a->command, a->command, NULL); - message(CONSOLE | LOG, "\rexec of '%s' failed: %s\n", - a->command, strerror(errno)); + message(CONSOLE | LOG, "\rexec of '%s' failed: %m\n", + a->command); sync(); sleep(2); init_reboot(RB_HALT_SYSTEM); |