diff options
Diffstat (limited to 'lib/fstree')
-rw-r--r-- | lib/fstree/hardlink.c | 2 | ||||
-rw-r--r-- | lib/fstree/mknode.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/fstree/hardlink.c b/lib/fstree/hardlink.c index 11ab566..f45acf7 100644 --- a/lib/fstree/hardlink.c +++ b/lib/fstree/hardlink.c @@ -62,7 +62,7 @@ int fstree_resolve_hard_link(fstree_t *fs, tree_node_t *node) return -1; } - if (node->link_count == 0x0FFFF) { + if (node->link_count == 0xFFFFFFFF) { errno = EMLINK; return -1; } diff --git a/lib/fstree/mknode.c b/lib/fstree/mknode.c index 11026f6..2b1f89d 100644 --- a/lib/fstree/mknode.c +++ b/lib/fstree/mknode.c @@ -88,7 +88,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; |