diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-15 10:06:18 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-15 10:06:18 +0200 |
commit | a7d1992c8313eeb5e67bd0f7eebe35e61a103b8a (patch) | |
tree | 594b8171a2aba1a6908c2cc7a42d2a4497b4652e /cpukit/libcsupport/src/fchmod.c | |
parent | Merge branch 'upstream' (diff) | |
parent | Filesystem: Move operations to mount table entry (diff) | |
download | rtems-a7d1992c8313eeb5e67bd0f7eebe35e61a103b8a.tar.bz2 |
Merge branch 'upstream'
Diffstat (limited to 'cpukit/libcsupport/src/fchmod.c')
-rw-r--r-- | cpukit/libcsupport/src/fchmod.c | 2 |
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; |