(start_job_command): Pass null instead of "" to message; don't add newline.
authorRoland McGrath <roland@redhat.com>
Wed, 22 Nov 1995 00:14:59 +0000 (00:14 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 22 Nov 1995 00:14:59 +0000 (00:14 +0000)
job.c

diff --git a/job.c b/job.c
index 883dd340608963b8cae0ea4cc1e8b421e5361cb5..f97ec7f03b7cdf8a023fff70a1724f6caeac8aec 100644 (file)
--- a/job.c
+++ b/job.c
@@ -592,12 +592,12 @@ start_job_command (child)
       return;
     }
 
-  /* Print out the command.  If silent, we call `message' with an empty
-     string so it can log the working directory before the command's own
-     error messages appear.  */
+  /* Print out the command.  If silent, we call `message' with null so it
+     can log the working directory before the command's own error messages
+     appear.  */
 
   message ((just_print_flag || (!(flags & COMMANDS_SILENT) && !silent_flag))
-          ? "" : "%s\n", p);
+          ? (char *) 0 : "%s", p);
 
   /* Tell update_goal_chain that a command has been started on behalf of
      this target.  It is important that this happens here and not in