diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-08-04 12:49:36 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-08-04 12:49:36 +0200 |
commit | 983b770d547c11d8b0a4ef9e1ac75ffce1d4e46d (patch) | |
tree | f0471d92c324fa1236c56396791c894aa5839103 /engines | |
parent | 8e827d35068326950a6781d93aeef33b66d3438b (diff) | |
download | fio-983b770d547c11d8b0a4ef9e1ac75ffce1d4e46d.tar.gz |
solarisaio: fix aio errno assignment
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'engines')
-rw-r--r-- | engines/solarisaio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/solarisaio.c b/engines/solarisaio.c index 17b7e22c..069cda53 100644 --- a/engines/solarisaio.c +++ b/engines/solarisaio.c @@ -62,7 +62,7 @@ static void wait_for_event(struct timeval *tv) 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 |