summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/chmod.c')
-rw-r--r--cpukit/libcsupport/src/chmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/chmod.c b/cpukit/libcsupport/src/chmod.c
index 73333fe831..47de601b98 100644
--- a/cpukit/libcsupport/src/chmod.c
+++ b/cpukit/libcsupport/src/chmod.c
@@ -25,7 +25,7 @@ int chmod( const char *path, mode_t mode )
const rtems_filesystem_location_info_t *currentloc =
rtems_filesystem_eval_path_start( &ctx, path, eval_flags );
- rv = (*currentloc->ops->fchmod_h)( currentloc, mode );
+ rv = (*currentloc->mt_entry->ops->fchmod_h)( currentloc, mode );
rtems_filesystem_eval_path_cleanup( &ctx );