diff options
Diffstat (limited to 'libnetfs/file-chauthor.c')
-rw-r--r-- | libnetfs/file-chauthor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-chauthor.c b/libnetfs/file-chauthor.c index ec7f6177..4f0aad0b 100644 --- a/libnetfs/file-chauthor.c +++ b/libnetfs/file-chauthor.c @@ -30,9 +30,9 @@ netfs_S_file_chauthor (struct protid *user, if (!user) return EOPNOTSUPP; - mutex_lock (&user->po->np->lock); + pthread_mutex_lock (&user->po->np->lock); err = netfs_attempt_chauthor (user->user, user->po->np, author); - mutex_unlock (&user->po->np->lock); + pthread_mutex_unlock (&user->po->np->lock); return err; } |