From e1ddd1c8e0ec947906b528315cdc7b9f64ae3d9b Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Sat, 11 Feb 2012 16:54:58 +0100 Subject: lib/drmtest: fixup copy&paste printf format issue Signed-Off-by: Daniel Vetter --- lib/drmtest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/drmtest.c b/lib/drmtest.c index eda012c8..5caf71b2 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -361,8 +361,7 @@ void drmtest_permute_array(void *array, unsigned size, void drmtest_progress(const char *header, uint64_t i, uint64_t total) { if (i+1 >= total) { - fprintf(stderr, "\r%s100%%\n", header, - (long long unsigned) i * 100 / total); + fprintf(stderr, "\r%s100%%\n", header); return; } -- cgit v1.2.3