diff options
author | Emil Velikov <[email protected]> | 2014-01-28 01:20:45 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-01-29 19:53:53 +0000 |
commit | 780dfc1fec491d5c5c6982b9feccf01d5a45660b (patch) | |
tree | 5964cbf630969ff6392a50f6272087d1d7c4c000 /src/loader | |
parent | 4c35e3259493690850d292f819457a9a2bbe0abd (diff) |
loader: print WARNING and FATAL messages using the default logger
Lower values are used for more severe cases.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
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 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); |