[Mesa-dev] [PATCH 1/3] loader: print WARNING and FATAL messages using the default logger
Emil Velikov
emil.l.velikov at gmail.com
Tue Jan 28 02:35:15 PST 2014
Lower values are used for more severe cases.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/loader/loader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/loader/loader.c b/src/loader/loader.c
index 6d179a1..6b60ce7 100644
--- a/src/loader/loader.c
+++ b/src/loader/loader.c
@@ -80,7 +80,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);
--
1.8.5.2
More information about the mesa-dev
mailing list