summaryrefslogtreecommitdiff
path: root/src/hard_link_stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hard_link_stack.c')
-rw-r--r--src/hard_link_stack.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hard_link_stack.c b/src/hard_link_stack.c
index 85af300..547d259 100644
--- a/src/hard_link_stack.c
+++ b/src/hard_link_stack.c
@@ -69,6 +69,10 @@ char* check_link_stack(ext2_ino_t inode_nr, __u32 generation){
break;
head.pointer = head.pointer->next;
}
+#ifdef DEBUG
+ if (head.pointer)
+ printf("HARD_LINK found -> %s\n",head.pointer->name);
+#endif
return (head.pointer) ? head.pointer->name : NULL ;
}