summaryrefslogtreecommitdiff
path: root/gcc/gthr-posix95.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gthr-posix95.h')
-rw-r--r--gcc/gthr-posix95.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gthr-posix95.h b/gcc/gthr-posix95.h
index 625f799e8fc..b6332816c99 100644
--- a/gcc/gthr-posix95.h
+++ b/gcc/gthr-posix95.h
@@ -750,7 +750,7 @@ static inline int
__gthread_cond_wait_recursive (__gthread_cond_t *cond,
__gthread_recursive_mutex_t *mutex)
{
- return __gthrw_(pthread_cond_wait) (cond, mutex->actual);
+ return __gthrw_(pthread_cond_wait) (cond, &mutex->actual);
}
#endif /* _LIBOBJC */