summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/src/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libcsupport/src/open.c')
-rw-r--r--c/src/exec/libcsupport/src/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/libcsupport/src/open.c b/c/src/exec/libcsupport/src/open.c
index 1203ca9688..3b11209d20 100644
--- a/c/src/exec/libcsupport/src/open.c
+++ b/c/src/exec/libcsupport/src/open.c
@@ -148,12 +148,12 @@ int open(
iop->flags |= rtems_libio_fcntl_flags( flags );
iop->pathinfo = loc;
- if ( !iop->handlers->open ) {
+ if ( !iop->handlers->open_h ) {
rc = ENOTSUP;
goto done;
}
- rc = (*iop->handlers->open)( iop, pathname, flags, mode );
+ rc = (*iop->handlers->open_h)( iop, pathname, flags, mode );
if ( rc )
goto done;