summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-11-22 00:14:59 +0000
committerRoland McGrath <roland@redhat.com>1995-11-22 00:14:59 +0000
commitad6128559819b0afde4bcae99dd3fb007b065722 (patch)
treede106a79dab13c856efbbb56f08cd4200f142c73
parent10d680897700566be4807e20be73352b4179edda (diff)
downloadgunmake-ad6128559819b0afde4bcae99dd3fb007b065722.tar.gz
(start_job_command): Pass null instead of "" to message; don't add newline.
-rw-r--r--job.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/job.c b/job.c
index 883dd34..f97ec7f 100644
--- 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