summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/fchmod.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/fchmod.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/fchmod.c')
-rw-r--r--cpukit/libcsupport/src/fchmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/fchmod.c b/cpukit/libcsupport/src/fchmod.c
index e2f166a8ab..944873817d 100644
--- a/cpukit/libcsupport/src/fchmod.c
+++ b/cpukit/libcsupport/src/fchmod.c
@@ -28,7 +28,7 @@ int fchmod( int fd, mode_t mode )
if (iop->pathinfo.mt_entry->writeable) {
rtems_filesystem_instance_lock( &iop->pathinfo );
- rv = (*iop->pathinfo.ops->fchmod_h)( &iop->pathinfo, mode );
+ rv = (*iop->pathinfo.mt_entry->ops->fchmod_h)( &iop->pathinfo, mode );
rtems_filesystem_instance_unlock( &iop->pathinfo );
} else {
errno = EROFS;