From: Yousong Zhou Date: Thu, 4 Jun 2015 13:41:38 +0000 (+0800) Subject: ulog: always use stderr for ulog_stdio(). X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d1c66ef1131d14f0ed197b368d03f71b964e45f8;p=oweals%2Flibubox.git ulog: always use stderr for ulog_stdio(). stdout is for normal program output. Signed-off-by: Yousong Zhou --- 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);