summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-01-26 16:09:09 +0000
committerThomas Wood <thomas.wood@intel.com>2015-02-09 14:39:41 +0000
commita228223ffaf38fa758eea58258cfe745b6cde4b6 (patch)
tree89a6377ec29845163dfc70b68152739ea8f4b660 /lib
parentbef692d9f3556caf3e901de62f3b24d1aec5798e (diff)
lib: warning messages should be sent to stderr
This is a regression from commit df11a0f (lib: add a critical warning level). Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_core.c b/lib/igt_core.c
index 7b47b32b..2692fe4e 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);
}