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>
This commit is contained in:
Thomas Wood 2015-01-26 16:09:09 +00:00
parent bef692d9f3
commit a228223ffa

View File

@ -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);
}