summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/chmod.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-15 10:06:18 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-15 10:06:18 +0200
commita7d1992c8313eeb5e67bd0f7eebe35e61a103b8a (patch)
tree594b8171a2aba1a6908c2cc7a42d2a4497b4652e /cpukit/libcsupport/src/chmod.c
parentMerge branch 'upstream' (diff)
parentFilesystem: Move operations to mount table entry (diff)
downloadrtems-a7d1992c8313eeb5e67bd0f7eebe35e61a103b8a.tar.bz2
Merge branch 'upstream'
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 );