[rtems commit] posix: Fix aio_cancel()
Sebastian Huber
sebh at rtems.org
Wed Oct 4 07:25:43 UTC 2017
Module: rtems
Branch: master
Commit: dcdd329e5ca2233dd16316a6e0828d403c3da6b2
Changeset: http://git.rtems.org/rtems/commit/?id=dcdd329e5ca2233dd16316a6e0828d403c3da6b2
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Oct 4 09:18:56 2017 +0200
posix: Fix aio_cancel()
Update #3164.
---
cpukit/posix/src/aio_cancel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/posix/src/aio_cancel.c b/cpukit/posix/src/aio_cancel.c
index edb80ee..cf84055 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);
More information about the vc
mailing list