diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-01-28 01:20:45 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-01-29 19:53:53 +0000 |
commit | 780dfc1fec491d5c5c6982b9feccf01d5a45660b (patch) | |
tree | 5964cbf630969ff6392a50f6272087d1d7c4c000 /src/loader | |
parent | 4c35e3259493690850d292f819457a9a2bbe0abd (diff) | |
download | external_mesa3d-780dfc1fec491d5c5c6982b9feccf01d5a45660b.zip external_mesa3d-780dfc1fec491d5c5c6982b9feccf01d5a45660b.tar.gz external_mesa3d-780dfc1fec491d5c5c6982b9feccf01d5a45660b.tar.bz2 |
loader: print WARNING and FATAL messages using the default logger
Lower values are used for more severe cases.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/loader')
-rw-r--r-- | src/loader/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/loader.c b/src/loader/loader.c index ee4c1e0..e61c9d8 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); |