Fix issue again with wrong macro on error.
This commit is contained in:
parent
bd52b1f8f5
commit
9fab867333
|
@ -610,9 +610,9 @@ static void _error(int class, char *fn, unsigned int ln, char* fmt, va_list ap)
|
||||||
#endif /* LINT */
|
#endif /* LINT */
|
||||||
|
|
||||||
if (fn)
|
if (fn)
|
||||||
fprint(STDERR, "\"%s\", line %u: ", fn, ln);
|
fprint(ERROUT, "\"%s\", line %u: ", fn, ln);
|
||||||
if (remark)
|
if (remark)
|
||||||
fprint(STDERR, "%s ", remark);
|
fprint(ERROUT, "%s ", remark);
|
||||||
doprnt(STDERR, fmt, ap); /* contents of error */
|
doprnt(ERROUT, fmt, ap); /* contents of error */
|
||||||
fprint(STDERR, "\n");
|
fprint(ERROUT, "\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue