wmc: Use standard format for error messages.
This commit is contained in:
parent
6f9ad1b981
commit
04ac4bee21
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
static void generic_msg(const char *s, const char *t, va_list ap)
|
static void generic_msg(const char *s, const char *t, va_list ap)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s %s: %d, %d: ", t, input_name ? input_name : "stdin", line_number, char_number);
|
fprintf(stderr, "%s:%d:%d: %s: ", input_name ? input_name : "stdin", line_number, char_number, t);
|
||||||
vfprintf(stderr, s, ap);
|
vfprintf(stderr, s, ap);
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue