summaryrefslogtreecommitdiff
path: root/libdiskfs/node-make.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/node-make.c')
-rw-r--r--libdiskfs/node-make.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/node-make.c b/libdiskfs/node-make.c
index 74fdda19..2b6ef2af 100644
--- a/libdiskfs/node-make.c
+++ b/libdiskfs/node-make.c
@@ -35,7 +35,7 @@ diskfs_make_node (struct disknode *dn)
np->dn_set_mtime = 0;
np->dn_stat_dirty = 0;
- mutex_init (&np->lock);
+ pthread_mutex_init (&np->lock, NULL);
np->references = 1;
np->light_references = 0;
np->owner = 0;