Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/testsuite/winsup.api/pthread/condvar7.c')
-rw-r--r--winsup/testsuite/winsup.api/pthread/condvar7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/winsup.api/pthread/condvar7.c b/winsup/testsuite/winsup.api/pthread/condvar7.c
index 9ce94f93d..8e9808f48 100644
--- a/winsup/testsuite/winsup.api/pthread/condvar7.c
+++ b/winsup/testsuite/winsup.api/pthread/condvar7.c
@@ -97,7 +97,7 @@ mythread(void * arg)
#ifdef _MSC_VER
#pragma inline_depth(0)
#endif
- pthread_cleanup_push(pthread_mutex_unlock, (void *) &cvthing.lock);
+ pthread_cleanup_push((void *) pthread_mutex_unlock, (void *) &cvthing.lock);
while (! (cvthing.shared > 0))
assert(pthread_cond_timedwait(&cvthing.notbusy, &cvthing.lock, &abstime) == 0);