From b6657c395747eedba02409388780ad5f05581322 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 11 Sep 2013 10:34:02 +0200 Subject: Filesystem: Add and use rtems_filesystem_chmod() Implement POSIX requirements in the high-level file system layer. --- cpukit/libcsupport/src/chmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libcsupport/src/chmod.c') 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 ); -- cgit v1.2.3