From f0a8d60d32b7d6a093596abdbb9711e64eff2594 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 28 Sep 2011 11:36:11 -0400 Subject: [PATCH] stupid typo (caused by rather ugly spelling in POSIX..) in aio --- include/aio.h | 2 +- src/aio/aio_readwrite.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/aio.h b/include/aio.h index ce7b4260..4cc04909 100644 --- a/include/aio.h +++ b/include/aio.h @@ -17,7 +17,7 @@ extern "C" { #include struct aiocb { - int aio_filedes, aio_lio_opcode, aio_reqprio; + int aio_fildes, aio_lio_opcode, aio_reqprio; volatile void *aio_buf; size_t aio_nbytes; struct sigevent aio_sigevent; 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; -- 2.25.1