From 780dfc1fec491d5c5c6982b9feccf01d5a45660b Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 28 Jan 2014 01:20:45 +0000 Subject: loader: print WARNING and FATAL messages using the default logger Lower values are used for more severe cases. Signed-off-by: Emil Velikov Reviewed-by: Eric Anholt Reviewed-by: Kenneth Graunke --- src/loader/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/loader/loader.c b/src/loader/loader.c index ee4c1e08db7..e61c9d81a16 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -82,7 +82,7 @@ static void default_logger(int level, const char *fmt, ...) { - if (level >= _LOADER_WARNING) { + if (level <= _LOADER_WARNING) { va_list args; va_start(args, fmt); vfprintf(stderr, fmt, args); -- cgit v1.2.3