diff options
Diffstat (limited to 'lib/igt_aux.c')
-rw-r--r-- | lib/igt_aux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/igt_aux.c b/lib/igt_aux.c index 05cb4bd1..180c2742 100644 --- a/lib/igt_aux.c +++ b/lib/igt_aux.c @@ -241,9 +241,9 @@ void igt_progress(const char *header, uint64_t i, uint64_t total) divider = 1; /* only bother updating about every 0.5% */ - igt_warn_on_f(i % (total / divider) == 0 || i + 1 >= total, - "\r%s%3llu%%", header, - (long long unsigned)i * 100 / total); + if (i % (total / divider) == 0) + igt_warn("\r%s%3llu%%", header, + (long long unsigned)i * 100 / total); } /* mappable aperture trasher helper */ |