From 41cdd1b210a1fc337a6ca68ef51a61af27b68db3 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 13 Jan 2016 13:17:00 -0700 Subject: [PATCH] t/verify-state: fix type for printf Signed-off-by: Jens Axboe --- t/verify-state.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/verify-state.c b/t/verify-state.c index cb5ef31d..417777ae 100644 --- a/t/verify-state.c +++ b/t/verify-state.c @@ -20,10 +20,10 @@ static void show_s(struct thread_io_list *s, unsigned int no_s) int i; printf("Thread %u, %s\n", no_s, s->name); - printf("Completions: %lu\n", s->no_comps); - printf("Depth: %lu\n", s->depth); - printf("Number IOs: %lu\n", s->numberio); - printf("Index: %lu\n", s->index); + printf("Completions: %llu\n", (unsigned long long) s->no_comps); + printf("Depth: %llu\n", (unsigned long long) s->depth); + printf("Number IOs: %llu\n", (unsigned long long) s->numberio); + printf("Index: %llu\n", (unsigned long long) s->index); printf("Completions:\n"); for (i = 0; i < s->no_comps; i++) -- 2.25.1