Bugfix of fprint using correct output redirection (fix from last commit).
This commit is contained in:
parent
41cb541e7e
commit
9622898131
|
@ -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(STDERR, "\"%s\", line %u: ", fn, ln);
|
||||||
if (remark)
|
if (remark)
|
||||||
fprint(stderr, "%s ", remark);
|
fprint(STDERR, "%s ", remark);
|
||||||
doprnt(stderr, fmt, ap); /* contents of error */
|
doprnt(STDERR, fmt, ap); /* contents of error */
|
||||||
fprint(stderr, "\n");
|
fprint(STDERR, "\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue