From f5e9e3f2f288bc6fa111cbed755fb8f2303c13ef Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 4 Jan 2017 16:44:55 +0100 Subject: [PATCH] src/utils/log.c: also print warnings to stderr --- src/utils/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/log.c b/src/utils/log.c index 55aa9935..967c2d6c 100644 --- a/src/utils/log.c +++ b/src/utils/log.c @@ -34,7 +34,7 @@ aubio_default_log(sint_t level, const char_t *message, void * data UNUSED) { FILE *out; out = stdout; - if (level == AUBIO_LOG_DBG || level == AUBIO_LOG_ERR) { + if (level == AUBIO_LOG_ERR || level == AUBIO_LOG_DBG || level == AUBIO_LOG_WRN) { out = stderr; } fprintf(out, "%s", message); -- 2.11.0