Cpu clock does not wrap if there is no CPU clock
[fio.git] / engines / rdma.c
index af50187a62bf5f2607cffe25eeb456b12987598c..50812020f64673d400ecb59658a6cfbe8f94d038 100644 (file)
@@ -524,7 +524,7 @@ static struct io_u *fio_rdmaio_event(struct thread_data *td, int event)
 }
 
 static int fio_rdmaio_getevents(struct thread_data *td, unsigned int min,
-                               unsigned int max, struct timespec *t)
+                               unsigned int max, const struct timespec *t)
 {
        struct rdmaio_data *rd = td->io_ops->data;
        enum ibv_wc_opcode comp_opcode;