summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/fpathconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/fpathconf.c')
-rw-r--r--cpukit/libcsupport/src/fpathconf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/fpathconf.c b/cpukit/libcsupport/src/fpathconf.c
index 3cab4025b7..db323136c7 100644
--- a/cpukit/libcsupport/src/fpathconf.c
+++ b/cpukit/libcsupport/src/fpathconf.c
@@ -36,9 +36,7 @@ long fpathconf(
rtems_libio_t *iop;
const rtems_filesystem_limits_and_options_t *the_limits;
- rtems_libio_check_fd(fd);
- iop = rtems_libio_iop(fd);
- rtems_libio_check_is_open(iop);
+ LIBIO_GET_IOP( fd, iop );
/*
* Now process the information request.