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, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/fpathconf.c b/cpukit/libcsupport/src/fpathconf.c
index b0e0dc7a75..a48c5d35fc 100644
--- a/cpukit/libcsupport/src/fpathconf.c
+++ b/cpukit/libcsupport/src/fpathconf.c
@@ -26,7 +26,7 @@ long fpathconf(
{
long return_value;
rtems_libio_t *iop;
- rtems_filesystem_limits_and_options_t *the_limits;
+ const rtems_filesystem_limits_and_options_t *the_limits;
rtems_libio_check_fd(fd);
iop = rtems_libio_iop(fd);
@@ -36,7 +36,7 @@ long fpathconf(
* Now process the information request.
*/
- the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;
+ the_limits = iop->pathinfo.mt_entry->pathconf_limits_and_options;
switch ( name ) {
case _PC_LINK_MAX: