From d1c66ef1131d14f0ed197b368d03f71b964e45f8 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Thu, 4 Jun 2015 21:41:38 +0800 Subject: [PATCH] ulog: always use stderr for ulog_stdio(). stdout is for normal program output. Signed-off-by: Yousong Zhou --- ulog.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ulog.c b/ulog.c index 776a0c4..66aad90 100644 --- a/ulog.c +++ b/ulog.c @@ -105,9 +105,6 @@ static void ulog_stdio(int priority, const char *fmt, va_list ap) { FILE *out = stderr; - if (priority == LOG_INFO || priority == LOG_NOTICE) - out = stdout; - if (_ulog_ident) fprintf(out, "%s: ", _ulog_ident);