summary refs log tree commit diff
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2007-06-14 08:44:58 +0000
committerGerrit Pape <pape@woph.(none)>2007-06-14 08:44:58 +0000
commit172c4357c29493d4246a4517bfab030b7db363ba (patch)
tree93960e07314a0b77f17cb05d97cb44b90968c707
parente700f4187491f96d35387e304f5b8c3b9485fc78 (diff)
downloadrunit-172c4357c29493d4246a4517bfab030b7db363ba.tar.gz
runit-172c4357c29493d4246a4517bfab030b7db363ba.tar.xz
runit-172c4357c29493d4246a4517bfab030b7db363ba.zip
runit.c: fix typo in error messages (thx Matthew R. Dempsky); minor rewording
-rw-r--r--package/CHANGES2
-rw-r--r--src/runit.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/package/CHANGES b/package/CHANGES
index 9a0fae3..40b22ab 100644
--- 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
index 3d244ab..f7d6522 100644
--- 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);