engines: don't use printf or stderr directly
[fio.git] / engines / rbd.c
index 85a705fc8bd4d8ae6347f2378a0058e8566c0d2f..6fe87b8d010cc6bd1161655fb1e7684528406ebc 100644 (file)
@@ -222,7 +222,7 @@ static struct io_u *fio_rbd_event(struct thread_data *td, int event)
 }
 
 static int fio_rbd_getevents(struct thread_data *td, unsigned int min,
-                            unsigned int max, struct timespec *t)
+                            unsigned int max, const struct timespec *t)
 {
        struct rbd_data *rbd_data = td->io_ops->data;
        unsigned int events = 0;