From a228223ffaf38fa758eea58258cfe745b6cde4b6 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Mon, 26 Jan 2015 16:09:09 +0000 Subject: [PATCH] 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 --- 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 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); }