diff options
Diffstat (limited to 'cpukit/libcsupport/src/read.c')
-rw-r--r-- | cpukit/libcsupport/src/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/read.c b/cpukit/libcsupport/src/read.c index 80ad9abc42..d724e16164 100644 --- a/cpukit/libcsupport/src/read.c +++ b/cpukit/libcsupport/src/read.c @@ -33,10 +33,10 @@ ssize_t read( * Now process the read(). */ - if ( !iop->handlers->read ) + if ( !iop->handlers->read_h ) set_errno_and_return_minus_one( ENOTSUP ); - rc = (*iop->handlers->read)( iop, buffer, count ); + rc = (*iop->handlers->read_h)( iop, buffer, count ); if ( rc > 0 ) iop->offset += rc; |