(start_job_command): Pass null instead of "" to message; don't add newline.

This commit is contained in:
Roland McGrath 1995-11-22 00:14:59 +00:00
parent 10d6808977
commit ad61285598

8
job.c
View file

@ -592,12 +592,12 @@ start_job_command (child)
return; return;
} }
/* Print out the command. If silent, we call `message' with an empty /* Print out the command. If silent, we call `message' with null so it
string so it can log the working directory before the command's own can log the working directory before the command's own error messages
error messages appear. */ appear. */
message ((just_print_flag || (!(flags & COMMANDS_SILENT) && !silent_flag)) 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 /* 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 this target. It is important that this happens here and not in