io_u: fix trimming of mixed block size randommap
[fio.git] / t / dedupe.c
index 1f172a26986231d7f4402d2a76695557523f23bb..c3b837f7b698cdedd027f20be12e085ffe21faa1 100644 (file)
@@ -334,7 +334,7 @@ static void *thread_fn(void *data)
 static void show_progress(struct worker_thread *threads, unsigned long total)
 {
        unsigned long last_nitems = 0;
-       struct timeval last_tv;
+       struct timespec last_tv;
 
        fio_gettime(&last_tv, NULL);