diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-20 13:27:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-20 13:27:24 +0000 |
commit | 5346276237be6d96ec65ac3b5764fce19814e1ba (patch) | |
tree | ec6944acbfdf249518a240e0651e229d4a03ca81 /c/src/exec/libfs/src/imfs/imfs_debug.c | |
parent | 2001-04-20 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-5346276237be6d96ec65ac3b5764fce19814e1ba.tar.bz2 |
2001-04-20 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_debug.c (IMFS_print_jnode): Modified to print
only information that does not vary based on target or memory
configuration. The old prints are still there in case they
are needed in the future to debug. Printing target dependent
addresses makes the test output vary by target unnecessarily.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/libfs/src/imfs/imfs_debug.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/exec/libfs/src/imfs/imfs_debug.c b/c/src/exec/libfs/src/imfs/imfs_debug.c index c3b56dfb0b..f852c81d8b 100644 --- a/c/src/exec/libfs/src/imfs/imfs_debug.c +++ b/c/src/exec/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: |