Accept -foo as well as --foo for options
[fio.git] / engines / posixaio.c
index 2fc56cd690772e05c1881f73eff2449f14cab981..ebd6faf86b14b30e2dd4eabf8b5f9726d1d8d6aa 100644 (file)
@@ -153,10 +153,11 @@ static int fio_posixaio_queue(struct thread_data fio_unused *td,
 
        if (ret) {
                io_u->error = errno;
-               td_verror(td, io_u->error);
+               td_verror(td, io_u->error, "xfer");
+               return FIO_Q_COMPLETED;
        }
-               
-       return io_u->error;
+
+       return FIO_Q_QUEUED;
 }
 
 static void fio_posixaio_cleanup(struct thread_data *td)