summary refs log tree commit diff
diff options
context:
space:
mode:
-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);