diff options
Diffstat (limited to 'c/src/exec/libcsupport/src/getdents.c')
-rw-r--r-- | c/src/exec/libcsupport/src/getdents.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/exec/libcsupport/src/getdents.c b/c/src/exec/libcsupport/src/getdents.c index b1afbb13f7..e260fe2489 100644 --- a/c/src/exec/libcsupport/src/getdents.c +++ b/c/src/exec/libcsupport/src/getdents.c @@ -40,10 +40,10 @@ int getdents( * Make sure we are working on a directory */ loc = iop->pathinfo; - if ( !loc.ops->node_type ) + if ( !loc.ops->node_type_h ) set_errno_and_return_minus_one( ENOTSUP ); - if ( (*loc.ops->node_type)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) + if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) set_errno_and_return_minus_one( ENOTDIR ); /* @@ -51,8 +51,8 @@ int getdents( * of the read attempt. */ - if ( !iop->handlers->read ) + if ( !iop->handlers->read_h ) set_errno_and_return_minus_one( ENOTSUP ); - return (*iop->handlers->read)( iop, dd_buf, dd_len ); + return (*iop->handlers->read_h)( iop, dd_buf, dd_len ); } |