summaryrefslogtreecommitdiff
path: root/lib/fstree/mknode.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fstree/mknode.c')
-rw-r--r--lib/fstree/mknode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fstree/mknode.c b/lib/fstree/mknode.c
index f836c67..e0ab5b8 100644
--- a/lib/fstree/mknode.c
+++ b/lib/fstree/mknode.c
@@ -75,7 +75,7 @@ tree_node_t *fstree_mknode(tree_node_t *parent, const char *name,
}
if (parent != NULL) {
- if (parent->link_count == 0x0FFFF) {
+ if (parent->link_count == 0xFFFFFFFF) {
free(n);
errno = EMLINK;
return NULL;