First snapshot of FIO for Windows
[fio.git] / engines / posixaio.c
index b454aa01e2b50495db4bbcfa1bd6a632dafb6b93..061812e67ebc787efcc7315ef066105ad0ee3ed0 100644 (file)
@@ -152,7 +152,7 @@ static struct io_u *fio_posixaio_event(struct thread_data *td, int event)
        return pd->aio_events[event];
 }
 
-static int fio_posixaio_queue(struct thread_data fio_unused *td,
+static int fio_posixaio_queue(struct thread_data *td,
                              struct io_u *io_u)
 {
        struct posixaio_data *pd = td->io_ops->data;
@@ -239,7 +239,7 @@ static struct ioengine_ops ioengine = {
  */
 static int fio_posixaio_init(struct thread_data fio_unused *td)
 {
-       fprintf(stderr, "fio: posixaio not available\n");
+       log_err("fio: posixaio not available\n");
        return 1;
 }