summaryrefslogtreecommitdiff
path: root/libtreefs/fsys-getroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtreefs/fsys-getroot.c')
-rw-r--r--libtreefs/fsys-getroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtreefs/fsys-getroot.c b/libtreefs/fsys-getroot.c
index 986938cf..cd735bfe 100644
--- a/libtreefs/fsys-getroot.c
+++ b/libtreefs/fsys-getroot.c
@@ -86,7 +86,7 @@ _treefs_s_fsys_getroot (struct treefs_fsys *fsys,
}
}
- mutex_lock (&root->lock);
+ pthread_mutex_lock (&root->lock);
type = treefs_node_type (root);
if (type == S_IFLNK && !(flags & (O_NOLINK | O_NOTRANS)))