diff options
author | Gerrit Pape <pape@smarden.org> | 2007-06-14 08:44:58 +0000 |
---|---|---|
committer | Gerrit Pape <pape@woph.(none)> | 2007-06-14 08:44:58 +0000 |
commit | 172c4357c29493d4246a4517bfab030b7db363ba (patch) | |
tree | 93960e07314a0b77f17cb05d97cb44b90968c707 /src | |
parent | e700f4187491f96d35387e304f5b8c3b9485fc78 (diff) | |
download | runit-172c4357c29493d4246a4517bfab030b7db363ba.tar.gz runit-172c4357c29493d4246a4517bfab030b7db363ba.tar.xz runit-172c4357c29493d4246a4517bfab030b7db363ba.zip |
runit.c: fix typo in error messages (thx Matthew R. Dempsky); minor rewording
Diffstat (limited to 'src')
-rw-r--r-- | src/runit.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |