about summary refs log tree commit diff
path: root/src/aio
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-28 11:36:11 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-28 11:36:11 -0400
commitf0a8d60d32b7d6a093596abdbb9711e64eff2594 (patch)
treea5001bcb0f902de49607dd6f930e900bd9d5ece9 /src/aio
parent067bdc2c180885af831f55f971f5eb17d2c9dc27 (diff)
downloadmusl-f0a8d60d32b7d6a093596abdbb9711e64eff2594.tar.gz
musl-f0a8d60d32b7d6a093596abdbb9711e64eff2594.tar.xz
musl-f0a8d60d32b7d6a093596abdbb9711e64eff2594.zip
stupid typo (caused by rather ugly spelling in POSIX..) in aio
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;