public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41cb541
)
Bugfix of fprint using correct output redirection (fix from last commit).
author
carl
<cecodere@yahoo.ca>
Sat, 23 Feb 2019 16:45:35 +0000
(
00:45
+0800)
committer
carl
<cecodere@yahoo.ca>
Sat, 23 Feb 2019 16:45:35 +0000
(
00:45
+0800)
lang/cem/cemcom.ansi/error.c
patch
|
blob
|
history
diff --git
a/lang/cem/cemcom.ansi/error.c
b/lang/cem/cemcom.ansi/error.c
index
76421ed
..
e2e87f7
100644
(file)
--- 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(
STDERR
, "\"%s\", line %u: ", fn, ln);
if (remark)
- fprint(
stderr
, "%s ", remark);
- doprnt(
stderr
, fmt, ap); /* contents of error */
- fprint(
stderr
, "\n");
+ fprint(
STDERR
, "%s ", remark);
+ doprnt(
STDERR
, fmt, ap); /* contents of error */
+ fprint(
STDERR
, "\n");
}