summaryrefslogtreecommitdiff
path: root/libnetfs/make-node.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/make-node.c')
-rw-r--r--libnetfs/make-node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/make-node.c b/libnetfs/make-node.c
index 6bd8109c..a292dc62 100644
--- a/libnetfs/make-node.c
+++ b/libnetfs/make-node.c
@@ -27,7 +27,7 @@ init_node (struct node *np, struct netnode *nn)
np->nn = nn;
pthread_mutex_init (&np->lock, NULL);
- np->references = 1;
+ refcounts_init (&np->refcounts, 1, 0);
np->sockaddr = MACH_PORT_NULL;
np->owner = 0;