summaryrefslogtreecommitdiff
path: root/libpager/pager-create.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpager/pager-create.c')
-rw-r--r--libpager/pager-create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpager/pager-create.c b/libpager/pager-create.c
index 26d1aad2..318c9f15 100644
--- a/libpager/pager-create.c
+++ b/libpager/pager-create.c
@@ -32,8 +32,8 @@ pager_create (struct user_pager_info *upi,
p->upi = upi;
p->pager_state = NOTINIT;
- mutex_init (&p->interlock);
- condition_init (&p->wakeup);
+ pthread_mutex_init (&p->interlock, NULL);
+ pthread_cond_init (&p->wakeup, NULL);
p->lock_requests = 0;
p->attribute_requests = 0;
p->may_cache = may_cache;