Print this page
make: prefix errors and such with the right command name
@@ -1870,18 +1870,20 @@
}
pattern = message;
}
(void) fflush(stdout);
- (void) fprintf(stderr, gettext("make: Fatal error in reader: "));
+ (void) fprintf(stderr, gettext("%s: Fatal error in reader: "),
+ getprogname());
(void) vfprintf(stderr, pattern, args);
(void) fprintf(stderr, "\n");
va_end(args);
if (temp_file_name != NULL) {
(void) fprintf(stderr,
- gettext("make: Temp-file %s not removed\n"),
+ gettext("%s: Temp-file %s not removed\n"),
+ getprogname(),
temp_file_name->string_mb);
temp_file_name = NULL;
}
if (report_pwd) {