OSDN Git Service
(root)
/
android-x86
/
external-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
ee4c1e0
..
e61c9d8
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);