X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Fposixaio.c;h=29bcc5acc809f63fc7c46972564a5e696543ef78;hp=8ab88fbb1faf2821c442015f85f78e24cb1d244d;hb=138c0e22828cfb2993c382e8fdb54562fbc19005;hpb=e13c3b50a1aa156223b5b9d20ed3d38dd4292479 diff --git a/engines/posixaio.c b/engines/posixaio.c index 8ab88fbb..29bcc5ac 100644 --- a/engines/posixaio.c +++ b/engines/posixaio.c @@ -198,7 +198,7 @@ static int fio_posixaio_queue(struct thread_data *td, } if (ret) { - int aio_err = aio_error(aiocb); + int aio_err = errno; /* * At least OSX has a very low limit on the number of pending