summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-02-11 16:54:58 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-02-11 16:57:05 +0100
commite1ddd1c8e0ec947906b528315cdc7b9f64ae3d9b (patch)
tree0ccbbab06a18e4b89059937d9acd08871ad39369
parent9b32894937af27f9ba95ea572ac857d376fe9034 (diff)
lib/drmtest: fixup copy&paste printf format issue
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--lib/drmtest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c
index eda012c8f..5caf71b2b 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;
}