From 4a3ed03e8f42262e0fc8599c17d841fa156fee6b Mon Sep 17 00:00:00 2001 From: liulong0118 Date: Sun, 1 Nov 2015 22:30:24 +0800 Subject: [PATCH] Fix issue 33: error messages are printed to stdout rather than stderr --- printing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/printing.c b/printing.c index c98c002..ec5f716 100644 --- a/printing.c +++ b/printing.c @@ -88,9 +88,9 @@ struct print_fns }; static struct print_fns fns = { print_message_to_stdout, - print_message_to_stdout, - fprint_message_to_stdout, + print_message_to_stderr, fprint_message_to_stdout, + fprint_message_to_stderr, flush_stdout }; #if DEBUG