diff options
Diffstat (limited to 'src/tet3/tcc/error.c')
-rw-r--r-- | src/tet3/tcc/error.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tet3/tcc/error.c b/src/tet3/tcc/error.c index 153ac783..61b9789d 100644 --- a/src/tet3/tcc/error.c +++ b/src/tet3/tcc/error.c @@ -133,8 +133,9 @@ char *file, *s1, *s2; text[0] = '\0'; errfmt(errnum, file, line, s1, s2, text, msg); - /* punt the message for printing to the current journal */ + /* print errors to journal and stderr */ jnl_tcc_prpmsg(prp, msg); + fprintf(stderr, "tcc %s\n", msg); } /* |