Print this page
make: prefix errors and such with the right command name
@@ -134,11 +134,11 @@
{
va_list args;
va_start(args, message);
(void) fflush(stdout);
- (void) fprintf(stderr, gettext("make: Fatal error: "));
+ (void) fprintf(stderr, gettext("%s: Fatal error: "), getprogname());
(void) vfprintf(stderr, message, args);
(void) fprintf(stderr, "\n");
va_end(args);
if (report_pwd) {
(void) fprintf(stderr,
@@ -191,11 +191,11 @@
{
va_list args;
va_start(args, message);
(void) fflush(stdout);
- (void) fprintf(stderr, gettext("make: Warning: "));
+ (void) fprintf(stderr, gettext("%s: Warning: "), getprogname());
(void) vfprintf(stderr, message, args);
(void) fprintf(stderr, "\n");
va_end(args);
if (report_pwd) {
(void) fprintf(stderr,