runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 0f5cd2f70cfa6cde9b2499dced70869045249c01
parent c8fe64717cac68cfbbbe0807478e0c62cfd4446f
Author: Gerrit Pape <pape@smarden.org>
Date:   Thu, 14 Jun 2007 08:44:58 +0000

runit.c: fix typo in error messages (thx Matthew R. Dempsky); minor rewording

Diffstat:
Mpackage/CHANGES | 2++
Msrc/runit.c | 4++--
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/CHANGES b/package/CHANGES @@ -6,6 +6,8 @@ fails; cleanup. * svlogd.c: don't statically bind local udp socket, but request new source port for each log message sent through udp. + * runit.c: fix typo in error messages (thx Matthew R. Dempsky); minor + rewording. 1.7.2 Tue, 21 Nov 2006 15:13:47 +0000 diff --git a/src/runit.c b/src/runit.c @@ -133,7 +133,7 @@ int main (int argc, const char * const *argv, char * const *envp) { strerr_warn3(INFO, "enter stage: ", stage[st], 0); execve(*prog, (char *const *)prog, envp); - strerr_die3sys(0, FATAL, "could not start child: ", stage[st]); + strerr_die4sys(0, FATAL, "unable to start child: ", stage[st], ": "); } x.fd =selfpipe[0]; @@ -224,7 +224,7 @@ int main (int argc, const char * const *argv, char * const *envp) { /* child */ strerr_warn3(INFO, "enter stage: ", prog[0], 0); execve(*prog, (char *const *) prog, envp); - strerr_die3sys(0, FATAL, "could not start child: ", prog[0]); + strerr_die4sys(0, FATAL, "unable to start child: ", prog[0], ": "); } if (wait_pid(&wstat, pid2) == -1) strerr_warn2(FATAL, "wait_pid: ", &strerr_sys);