From 4ee62c7903c65557c493f51d6703264a816156cd Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 22 Aug 2011 12:22:48 -0500 Subject: Libeinfo: do not suppress ewarn() messages The ewarn() function was affected by the EINFO_QUIET environment variable which lead to warning messages being suppressed. Warnings should not be suppressed. Reported-by: Hanno Boeck X-Gentoo-Bug: 380073 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=380073 --- src/libeinfo/libeinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libeinfo') diff --git a/src/libeinfo/libeinfo.c b/src/libeinfo/libeinfo.c index 777c0f84..44d4c90f 100644 --- a/src/libeinfo/libeinfo.c +++ b/src/libeinfo/libeinfo.c @@ -725,7 +725,7 @@ ewarn(const char *EINFO_RESTRICT fmt, ...) int retval; va_list ap; - if (!fmt || is_quiet()) + if (!fmt) return 0; va_start(ap, fmt); elogv(LOG_WARNING, fmt, ap); -- cgit v1.2.3