summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libguile/pthread-threads.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/pthread-threads.c b/libguile/pthread-threads.c
index 8aa0e6fca..1e456e788 100644
--- a/libguile/pthread-threads.c
+++ b/libguile/pthread-threads.c
@@ -147,16 +147,16 @@ int
scm_i_plugin_cond_wait (scm_t_cond *c, scm_t_mutex *mx)
{
mutex *m = (mutex *) mx;
- return pthread_cond_wait ((pthread_cond_t *) c, m->mutex);
+ return pthread_cond_wait ((pthread_cond_t *) c, &m->mutex);
}
int
-scm_i_plugin_cond_wait (scm_t_cond *c,
+scm_i_plugin_cond_timedwait (scm_t_cond *c,
scm_t_mutex *mx,
const struct timespec *t)
{
mutex *m = (mutex *) mx;
- return pthread_cond_timedwait ((pthread_cond_t *) c, m->mutex, t);
+ return pthread_cond_timedwait ((pthread_cond_t *) c, &m->mutex, t);
}
#endif