Extend ipo file action capabilities
[fio.git] / engines / posixaio.c
index 65a88e90756ceeb6b8640a99aff46d752abd0a80..c352a7ad852bd77bc15c197b003573f3a5e147f6 100644 (file)
@@ -82,7 +82,8 @@ static int fio_posixaio_getevents(struct thread_data *td, unsigned int min,
        struct posixaio_data *pd = td->io_ops->data;
        struct list_head *entry;
        struct timespec start;
-       int r, have_timeout = 0;
+       int have_timeout = 0;
+       unsigned int r;
 
        if (t && !fill_timespec(&start))
                have_timeout = 1;