Message ID | 1417540539-23069-1-git-send-email-thomas.wood@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/lib/igt_core.c b/lib/igt_core.c index 3fd4595..f7763b5 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -1433,20 +1433,8 @@ void igt_log(enum igt_log_level level, const char *format, ...) { va_list args; - assert(format); - - if (list_subtests) - return; - - if (igt_log_level > level) - return; - va_start(args, format); - if (level == IGT_LOG_WARN) { - fflush(stdout); - vfprintf(stderr, format, args); - } else - vprintf(format, args); + igt_vlog(level, format, args) va_end(args); }
Signed-off-by: Thomas Wood <thomas.wood@intel.com> --- lib/igt_core.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-)