Constify a few more hot paths
[fio.git] / engines / solarisaio.c
index 137dc225d151393959266e0e6e1df51377c67bfc..55a0cb95d133f8b6b85730023bf72172db5ec2f4 100644 (file)
@@ -73,7 +73,7 @@ static void wait_for_event(struct timeval *tv)
 }
 
 static int fio_solarisaio_getevents(struct thread_data *td, unsigned int min,
-                                   unsigned int max, struct timespec *t)
+                                   unsigned int max, const struct timespec *t)
 {
        struct solarisaio_data *sd = td->io_ops->data;
        struct timeval tv;