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.
diff --git a/init/init.c b/init/init.c
index 3b0a66a..edbd90b 100644
--- a/init/init.c
+++ b/init/init.c
@@ -660,8 +660,7 @@
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 @@
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);