summaryrefslogtreecommitdiff
path: root/libnetfs/dir-mkfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/dir-mkfile.c')
-rw-r--r--libnetfs/dir-mkfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/dir-mkfile.c b/libnetfs/dir-mkfile.c
index 7d388737..9e5847af 100644
--- a/libnetfs/dir-mkfile.c
+++ b/libnetfs/dir-mkfile.c
@@ -31,7 +31,7 @@ netfs_S_dir_mkfile (struct protid *diruser, int flags, mode_t mode,
struct iouser *user;
struct protid *newpi;
- mutex_lock (&diruser->po->np->lock);
+ pthread_mutex_lock (&diruser->po->np->lock);
err = netfs_attempt_mkfile (diruser->user, diruser->po->np, mode, &np);
if (!err)