diff options
Diffstat (limited to 'libnetfs/file-lock-stat.c')
-rw-r--r-- | libnetfs/file-lock-stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-lock-stat.c b/libnetfs/file-lock-stat.c index 12f5eccf..49529cf4 100644 --- a/libnetfs/file-lock-stat.c +++ b/libnetfs/file-lock-stat.c @@ -29,9 +29,9 @@ netfs_S_file_lock_stat (struct protid *user, if (!user) return EOPNOTSUPP; - mutex_lock (&user->po->np->lock); + pthread_mutex_lock (&user->po->np->lock); *mystatus = user->po->lock_status; *otherstatus = user->po->np->userlock.type; - mutex_unlock (&user->po->np->lock); + pthread_mutex_unlock (&user->po->np->lock); return 0; } |