summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/log.c b/src/log.c
index 6d38d2a..650689d 100644
--- a/src/log.c
+++ b/src/log.c
@@ -70,12 +70,12 @@ void vlog(enum log_level level, const char *fmt, va_list ap)
bool color = level == LEVEL_WARN || level == LEVEL_ERROR;
if (color)
- (void)re_fprintf(stderr, "\x1b[31m"); /* Red */
+ (void)re_fprintf(stdout, "\x1b[31m"); /* Red */
- (void)re_fprintf(stderr, "%s", buf);
+ (void)re_fprintf(stdout, "%s", buf);
if (color)
- (void)re_fprintf(stderr, "\x1b[;m");
+ (void)re_fprintf(stdout, "\x1b[;m");
}
le = lg.logl.head;