diff ffstools/tiffs-rd/object.c @ 237:317936902be4

tiffs IVA: regular ls fully implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 26 Jan 2014 21:12:15 +0000
parents 024042383a26
children
line wrap: on
line diff
--- a/ffstools/tiffs-rd/object.c	Sun Jan 26 19:03:33 2014 +0000
+++ b/ffstools/tiffs-rd/object.c	Sun Jan 26 21:12:15 2014 +0000
@@ -103,7 +103,7 @@
 }
 
 void
-iterate_seg_file(seghead, callback, callback_data, deleted)
+iterate_seg_file(seghead, callback, callback_data, deleted, verbose)
 	void (*callback)();
 	u_long callback_data;
 {
@@ -138,6 +138,9 @@
 					ino);
 				return;
 			}
+			if (verbose)
+				printf("seg inode #%x deleted, moved to #%x\n",
+					ino, inf->sibling);
 			ino = inf->sibling;
 			goto loop;
 		default: