diff options
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs_getchild.c')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_getchild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_getchild.c b/cpukit/libfs/src/imfs/imfs_getchild.c index dfec017643..1cfeb2a537 100644 --- a/cpukit/libfs/src/imfs/imfs_getchild.c +++ b/cpukit/libfs/src/imfs/imfs_getchild.c @@ -52,7 +52,7 @@ IMFS_jnode_t *IMFS_find_match_in_dir( the_chain = &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 ) { |