->getevents() should take unsigned args
[fio.git] / ioengines.c
index cf8c2f148ca8df611c2817e854cf43ace609f56a..9aacc335d906b21b4b5c397c8d26049338bc1b42 100644 (file)
@@ -165,7 +165,7 @@ int td_io_prep(struct thread_data *td, struct io_u *io_u)
        return 0;
 }
 
-int td_io_getevents(struct thread_data *td, int min, int max,
+int td_io_getevents(struct thread_data *td, unsigned int min, unsigned int max,
                    struct timespec *t)
 {
        if (min > 0 && td->io_ops->commit) {
@@ -245,7 +245,7 @@ int td_io_init(struct thread_data *td)
        if (td->io_ops->init) {
                ret = td->io_ops->init(td);
                if (ret && td->o.iodepth > 1)
-                       log_err("fio: io engine init failed. Perhaps try reducing io dpeth?\n");
+                       log_err("fio: io engine init failed. Perhaps try reducing io depth?\n");
        }
 
        return ret;