aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/io-modes-get.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/io-modes-get.c')
-rw-r--r--libdiskfs/io-modes-get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/io-modes-get.c b/libdiskfs/io-modes-get.c
index a959881b..6bed408b 100644
--- a/libdiskfs/io-modes-get.c
+++ b/libdiskfs/io-modes-get.c
@@ -26,9 +26,9 @@ diskfs_S_io_get_openmodes (struct protid *cred,
if (!cred)
return EOPNOTSUPP;
- mutex_lock (&cred->po->np->lock);
+ pthread_mutex_lock (&cred->po->np->lock);
*bits = cred->po->openstat;
- mutex_unlock (&cred->po->np->lock);
+ pthread_mutex_unlock (&cred->po->np->lock);
return 0;
}