summaryrefslogtreecommitdiffstats
path: root/c/src/libfs/src/imfs/imfs_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libfs/src/imfs/imfs_debug.c')
-rw-r--r--c/src/libfs/src/imfs/imfs_debug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/libfs/src/imfs/imfs_debug.c b/c/src/libfs/src/imfs/imfs_debug.c
index c3b56dfb0b..f852c81d8b 100644
--- a/c/src/libfs/src/imfs/imfs_debug.c
+++ b/c/src/libfs/src/imfs/imfs_debug.c
@@ -73,12 +73,17 @@ void IMFS_print_jnode(
break;
case IMFS_MEMORY_FILE:
+ /* Useful when debugging .. varies between targets */
+#if 0
printf( " (file %d %p %p %p)",
(int)the_jnode->info.file.size,
the_jnode->info.file.indirect,
the_jnode->info.file.doubly_indirect,
the_jnode->info.file.triply_indirect
);
+#else
+ printf( " (file %d)", (int)the_jnode->info.file.size );
+#endif
break;
case IMFS_HARD_LINK: