stdout is for normal program output.
Signed-off-by: Yousong Zhou <[email protected]>
---
ulog.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/ulog.c b/ulog.c
index 34db0db..38fb1c0 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);
--
1.7.10.4
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel