From 9fab8673338e5b400398d644cf6181f802ffce3f Mon Sep 17 00:00:00 2001 From: carl Date: Tue, 26 Feb 2019 00:46:10 +0800 Subject: [PATCH] Fix issue again with wrong macro on error. --- lang/cem/cemcom.ansi/error.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lang/cem/cemcom.ansi/error.c b/lang/cem/cemcom.ansi/error.c index e2e87f76e..bc97420ff 100644 --- a/lang/cem/cemcom.ansi/error.c +++ b/lang/cem/cemcom.ansi/error.c @@ -610,9 +610,9 @@ static void _error(int class, char *fn, unsigned int ln, char* fmt, va_list ap) #endif /* LINT */ if (fn) - fprint(STDERR, "\"%s\", line %u: ", fn, ln); + fprint(ERROUT, "\"%s\", line %u: ", fn, ln); if (remark) - fprint(STDERR, "%s ", remark); - doprnt(STDERR, fmt, ap); /* contents of error */ - fprint(STDERR, "\n"); + fprint(ERROUT, "%s ", remark); + doprnt(ERROUT, fmt, ap); /* contents of error */ + fprint(ERROUT, "\n"); }