summaryrefslogtreecommitdiff
path: root/src/hard_link_stack.c
diff options
context:
space:
mode:
authorrobi <robi>2010-06-19 18:53:52 +0000
committerrobi <robi>2010-06-19 18:53:52 +0000
commit70185b8d0a686f56b06f2a1b1f771284fa22f2ce (patch)
tree16b9596def7eb429ca6cee8446de91e6d6d1a090 /src/hard_link_stack.c
parent972f26a10e5f0bacf12b2df2e9a00896b007e600 (diff)
enable debug
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 ;
}