summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/imfs/imfs_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs_debug.c')
-rw-r--r--cpukit/libfs/src/imfs/imfs_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_debug.c b/cpukit/libfs/src/imfs/imfs_debug.c
index 5b95a17c6a..0a4e3a9bba 100644
--- a/cpukit/libfs/src/imfs/imfs_debug.c
+++ b/cpukit/libfs/src/imfs/imfs_debug.c
@@ -114,7 +114,7 @@ void IMFS_dump_directory(
the_chain = &the_directory->info.directory.Entries;
- for ( the_node = the_chain->first;
+ for ( the_node = rtems_chain_first( the_chain );
!rtems_chain_is_tail( the_chain, the_node );
the_node = the_node->next ) {