summaryrefslogtreecommitdiff
path: root/src/aio
diff options
context:
space:
mode:
Diffstat (limited to 'src/aio')
-rw-r--r--src/aio/aio_readwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aio/aio_readwrite.c b/src/aio/aio_readwrite.c
index adb5688a..584ccb3d 100644
--- a/src/aio/aio_readwrite.c
+++ b/src/aio/aio_readwrite.c
@@ -23,7 +23,7 @@ static void notify_signal(struct sigevent *sev)
static void *io_thread(void *p)
{
struct aiocb *cb = p;
- int fd = cb->aio_filedes;
+ int fd = cb->aio_fildes;
void *buf = (void *)cb->aio_buf;
size_t len = cb->aio_nbytes;
off_t off = cb->aio_offset;