diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/ioctl.c b/cpukit/libcsupport/src/ioctl.c index 9284c7f9dc..5ac530b6e0 100644 --- a/cpukit/libcsupport/src/ioctl.c +++ b/cpukit/libcsupport/src/ioctl.c @@ -28,6 +28,7 @@ int ioctl( rtems_libio_check_fd( fd ); iop = rtems_libio_iop( fd ); + rtems_libio_check_is_open(iop); /* * If this file descriptor is mapped to an external set of handlers, |