summaryrefslogtreecommitdiff
path: root/libpager/data-unlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpager/data-unlock.c')
-rw-r--r--libpager/data-unlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpager/data-unlock.c b/libpager/data-unlock.c
index 9692f589..02339abb 100644
--- a/libpager/data-unlock.c
+++ b/libpager/data-unlock.c
@@ -36,10 +36,10 @@ _pager_seqnos_memory_object_data_unlock (mach_port_t object,
if (!p)
return EOPNOTSUPP;
- mutex_lock (&p->interlock);
+ pthread_mutex_lock (&p->interlock);
_pager_wait_for_seqno (p, seqno);
_pager_release_seqno (p, seqno);
- mutex_unlock (&p->interlock);
+ pthread_mutex_unlock (&p->interlock);
if (p->pager_state != NORMAL)
{