]> git.0d.be Git - jack_mixer.git/commitdiff
Send C code log output to stderr instead of stdout
authorChristopher Arndt <chris@chrisarndt.de>
Fri, 3 Jul 2020 00:13:11 +0000 (02:13 +0200)
committerDaniel Sheeler <dsheeler@pobox.com>
Sat, 4 Jul 2020 22:43:32 +0000 (17:43 -0500)
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
log.c

diff --git a/log.c b/log.c
index 730f37415b5e6872d3c05ca5638428d957f12ddd..247951ceef76ab39a41f02dcb941bcd482a216b4 100644 (file)
--- a/log.c
+++ b/log.c
@@ -31,6 +31,6 @@ void jack_mixer_log(int level, const char * format, ...)
   va_list arglist;
 
   va_start(arglist, format);
-  vprintf(format, arglist);
+  vfprintf(stderr, format, arglist);
   va_end(arglist);
 }