aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-10-10 04:20:21 +0000
committerEric Andersen <andersen@codepoet.org>2002-10-10 04:20:21 +0000
commit71ae64bdc6b044eef0a9f3bebd85cc4a6b67362f (patch)
tree802990cf39a805f253b9d32f3888a7c749babd01 /init
parentfdfe298a966da0e6eecdc355efd640acf73c00e5 (diff)
downloadbusybox-w32-71ae64bdc6b044eef0a9f3bebd85cc4a6b67362f.tar.gz
busybox-w32-71ae64bdc6b044eef0a9f3bebd85cc4a6b67362f.tar.bz2
busybox-w32-71ae64bdc6b044eef0a9f3bebd85cc4a6b67362f.zip
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.c7
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)
660 execve(cmdpath, cmd, environment); 660 execve(cmdpath, cmd, environment);
661 661
662 /* We're still here? Some error happened. */ 662 /* We're still here? Some error happened. */
663 message(LOG | CONSOLE, "\rBummer, could not run '%s': %s\n", cmdpath, 663 message(LOG | CONSOLE, "\rBummer, could not run '%s': %m\n", cmdpath);
664 strerror(errno));
665 _exit(-1); 664 _exit(-1);
666 } 665 }
667 sigprocmask(SIG_SETMASK, &omask, NULL); 666 sigprocmask(SIG_SETMASK, &omask, NULL);
@@ -785,8 +784,8 @@ static void exec_signal(int sig)
785 message(CONSOLE | LOG, "\rTrying to re-exec %s\n", a->command); 784 message(CONSOLE | LOG, "\rTrying to re-exec %s\n", a->command);
786 execl(a->command, a->command, NULL); 785 execl(a->command, a->command, NULL);
787 786
788 message(CONSOLE | LOG, "\rexec of '%s' failed: %s\n", 787 message(CONSOLE | LOG, "\rexec of '%s' failed: %m\n",
789 a->command, strerror(errno)); 788 a->command);
790 sync(); 789 sync();
791 sleep(2); 790 sleep(2);
792 init_reboot(RB_HALT_SYSTEM); 791 init_reboot(RB_HALT_SYSTEM);