summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-04-15 06:02:36 +0000
committerRoland McGrath <roland@redhat.com>1992-04-15 06:02:36 +0000
commit4ee750d0347ce3781b748f11270f89e4ce1beb2d (patch)
tree93040e7dec706b5dae97d9e7a6dddb3ca0e38b1a /job.c
parenta31b168049fef348ceb4b0e0525320c32386168f (diff)
downloadgunmake-4ee750d0347ce3781b748f11270f89e4ce1beb2d.tar.gz
Formerly job.c.~58~
Diffstat (limited to 'job.c')
-rw-r--r--job.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/job.c b/job.c
index 0309e2e..eb5fab6 100644
--- a/job.c
+++ b/job.c
@@ -161,10 +161,10 @@ child_error (target_name, exit_code, exit_sig, coredump, ignored)
int exit_code, exit_sig, coredump;
int ignored;
{
- char *ignore_string = ignored ? " (ignored)" : "";
-
if (exit_sig == 0)
- error ("*** [%s] Error %d%s", target_name, exit_code, ignore_string);
+ error (ignored ? "[%s] Error %d (ignored)" :
+ "*** [%s] Error %d%s",
+ target_name, exit_code);
else
{
char *coredump_string = coredump ? " (core dumped)" : "";