summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-04 09:18:56 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-04 09:26:40 +0200
commitc139a705979600f7e959ff8d58f6dc44ab80faa9 (patch)
tree1b40b03cb5ac7c01767af792f68ee0367d4d293e /cpukit
parent1a21831b3c8ed7925dbbfb3c3b04d90d5a16845d (diff)
downloadrtems-c139a705979600f7e959ff8d58f6dc44ab80faa9.tar.bz2
posix: Fix aio_cancel()
Close #3164.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/posix/src/aio_cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/aio_cancel.c b/cpukit/posix/src/aio_cancel.c
index edb80eec65..cf84055c8e 100644
--- a/cpukit/posix/src/aio_cancel.c
+++ b/cpukit/posix/src/aio_cancel.c
@@ -58,7 +58,7 @@ int aio_cancel(int fildes, struct aiocb *aiocbp)
rtems_chain_extract (&r_chain->next_fd);
rtems_aio_remove_fd (r_chain);
pthread_mutex_destroy (&r_chain->mutex);
- pthread_cond_destroy (&r_chain->mutex);
+ pthread_cond_destroy (&r_chain->cond);
free (r_chain);
pthread_mutex_unlock (&aio_request_queue.mutex);