diff options
Diffstat (limited to 'cpukit/libcsupport/src/open.c')
-rw-r--r-- | cpukit/libcsupport/src/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/open.c b/cpukit/libcsupport/src/open.c index 6b957464f7..25a6f4e239 100644 --- a/cpukit/libcsupport/src/open.c +++ b/cpukit/libcsupport/src/open.c @@ -158,7 +158,7 @@ int open( iop->flags |= rtems_libio_fcntl_flags( flags ); iop->pathinfo = loc; - if ( !iop->handlers->open_h ) { + if ( !iop->handlers || !iop->handlers->open_h ) { rc = ENOTSUP; goto done; } |