diff options
Diffstat (limited to 'libnetfs/dir-unlink.c')
-rw-r--r-- | libnetfs/dir-unlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/dir-unlink.c b/libnetfs/dir-unlink.c index 8077514a..6f1eaca6 100644 --- a/libnetfs/dir-unlink.c +++ b/libnetfs/dir-unlink.c @@ -26,8 +26,8 @@ netfs_S_dir_unlink (struct protid *user, char *name) { error_t err; - mutex_lock (&user->po->np->lock); + pthread_mutex_lock (&user->po->np->lock); err = netfs_attempt_unlink (user->user, user->po->np, name); - mutex_unlock (&user->po->np->lock); + pthread_mutex_unlock (&user->po->np->lock); return err; } |