diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-09-11 10:34:02 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-09-12 15:31:12 +0200 |
commit | b6657c395747eedba02409388780ad5f05581322 (patch) | |
tree | 103bebd674a55b80248959552b3d40272cc14346 /cpukit/libcsupport/src/chmod.c | |
parent | dosfs: Correct handling of iconv() return value (diff) | |
download | rtems-b6657c395747eedba02409388780ad5f05581322.tar.bz2 |
Filesystem: Add and use rtems_filesystem_chmod()
Implement POSIX requirements in the high-level file system layer.
Diffstat (limited to 'cpukit/libcsupport/src/chmod.c')
-rw-r--r-- | cpukit/libcsupport/src/chmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/chmod.c b/cpukit/libcsupport/src/chmod.c index 8b91b60eae..a8785d40d3 100644 --- a/cpukit/libcsupport/src/chmod.c +++ b/cpukit/libcsupport/src/chmod.c @@ -33,7 +33,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->mt_entry->ops->fchmod_h)( currentloc, mode ); + rv = rtems_filesystem_chmod( currentloc, mode ); rtems_filesystem_eval_path_cleanup( &ctx ); |