[Intel-gfx] [PATCH i-g-t 1/3] lib: warning messages should be sent to stderr
Thomas Wood
thomas.wood at intel.com
Tue Jan 27 03:17:00 PST 2015
This is a regression from commit df11a0f (lib: add a critical warning
level).
Signed-off-by: Thomas Wood <thomas.wood at intel.com>
---
lib/igt_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/igt_core.c b/lib/igt_core.c
index 7b47b32..2692fe4 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -1522,7 +1522,7 @@ void igt_vlog(const char *domain, enum igt_log_level level, const char *format,
return;
}
- if (level > IGT_LOG_WARN) {
+ if (level >= IGT_LOG_WARN) {
file = stderr;
fflush(stdout);
}
--
2.1.0
More information about the Intel-gfx
mailing list