]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly job.c.~58~
authorRoland McGrath <roland@redhat.com>
Wed, 15 Apr 1992 06:02:36 +0000 (06:02 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 15 Apr 1992 06:02:36 +0000 (06:02 +0000)
job.c

diff --git a/job.c b/job.c
index 0309e2e7dec53d8e43d56b48c1aef8efad0b067e..eb5fab656d7492124f00500390a47242b6451f11 100644 (file)
--- 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)" : "";