io_u->resid = io_u->xfer_buflen - io_u->resultp.aio_return;
io_u->error = 0;
} else
- io_u->error = io_u->resultp.aio_return;
+ io_u->error = io_u->resultp.aio_errno;
/*
* For SIGIO, we need a write barrier between the two, so that
*/
static int fio_solarisaio_init(struct thread_data fio_unused *td)
{
- fprintf(stderr, "fio: solarisaio not available\n");
+ log_err("fio: solarisaio not available\n");
return 1;
}