From: Roland McGrath Date: Wed, 22 Nov 1995 00:14:59 +0000 (+0000) Subject: (start_job_command): Pass null instead of "" to message; don't add newline. X-Git-Tag: 3.74.1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad6128559819b0afde4bcae99dd3fb007b065722;p=thirdparty%2Fmake.git (start_job_command): Pass null instead of "" to message; don't add newline. --- diff --git a/job.c b/job.c index 883dd340..f97ec7f0 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