summaryrefslogtreecommitdiff
path: root/libtrivfs/cntl-create.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/cntl-create.c')
-rw-r--r--libtrivfs/cntl-create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtrivfs/cntl-create.c b/libtrivfs/cntl-create.c
index f103ed48..910daf3b 100644
--- a/libtrivfs/cntl-create.c
+++ b/libtrivfs/cntl-create.c
@@ -85,7 +85,7 @@ trivfs_create_control (mach_port_t underlying,
}
(*control)->hook = 0;
- mutex_init (&(*control)->lock);
+ pthread_mutex_init (&(*control)->lock, NULL);
}
out: