diff options
Diffstat (limited to 'libtrivfs/protid-dup.c')
-rw-r--r-- | libtrivfs/protid-dup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtrivfs/protid-dup.c b/libtrivfs/protid-dup.c index 855cd062..61696032 100644 --- a/libtrivfs/protid-dup.c +++ b/libtrivfs/protid-dup.c @@ -35,10 +35,10 @@ trivfs_protid_dup (struct trivfs_protid *cred, struct trivfs_protid **dup) if (! err) { - mutex_lock (&cred->po->cntl->lock); + pthread_mutex_lock (&cred->po->cntl->lock); new->po = cred->po; new->po->refcnt++; - mutex_unlock (&cred->po->cntl->lock); + pthread_mutex_unlock (&cred->po->cntl->lock); new->isroot = cred->isroot; |