diff options
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs_directory.c')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_directory.c b/cpukit/libfs/src/imfs/imfs_directory.c index 6381c7b18a..46ff335e59 100644 --- a/cpukit/libfs/src/imfs/imfs_directory.c +++ b/cpukit/libfs/src/imfs/imfs_directory.c @@ -97,7 +97,7 @@ ssize_t imfs_dir_read( return 0; /* Move to the first of the desired directory entries */ - the_node = the_chain->first; + the_node = rtems_chain_first( the_chain ); bytes_transferred = 0; first_entry = iop->offset; @@ -263,7 +263,7 @@ int imfs_dir_fstat( /* Run through the chain and count the number of directory entries */ /* that are subordinate to this directory node */ - 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 ) { |