[Intel-gfx] [PATCH i-g-t 05/12] tests/gem_spin_batch: Fix warning
Daniel Vetter
daniel.vetter at ffwll.ch
Sat Sep 2 17:03:59 UTC 2017
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
tests/gem_spin_batch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/gem_spin_batch.c b/tests/gem_spin_batch.c
index 941aa1399ae1..09bb3cb37108 100644
--- a/tests/gem_spin_batch.c
+++ b/tests/gem_spin_batch.c
@@ -48,7 +48,7 @@ static void spin(int fd, unsigned int engine, unsigned int timeout_sec)
igt_spin_batch_set_timeout(spin,
timeout_100ms - igt_nsec_elapsed(&itv));
gem_sync(fd, spin->handle);
- igt_debug("loop %d: interval=%fms (target 100ms), elapsed %fms\n",
+ igt_debug("loop %lu: interval=%fms (target 100ms), elapsed %fms\n",
loops,
igt_nsec_elapsed(&itv) * 1e-6,
igt_nsec_elapsed(&tv) * 1e-6);
--
2.9.5
More information about the Intel-gfx
mailing list