projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c35e32
)
loader: print WARNING and FATAL messages using the default logger
author
Emil Velikov
<emil.l.velikov@gmail.com>
Tue, 28 Jan 2014 01:20:45 +0000
(
01:20
+0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 29 Jan 2014 19:53:53 +0000
(19:53 +0000)
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>
src/loader/loader.c
patch
|
blob
|
history
diff --git
a/src/loader/loader.c
b/src/loader/loader.c
index ee4c1e08db7338a20141948b0a4df4274a6cb93c..e61c9d81a16f5ef888c43c9937a42fad494a5256 100644
(file)
--- 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);