diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-10-07 17:12:49 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-10-07 17:12:49 +0200 |
commit | 8b65f389aac940a5aadcf190894fdba1b75453f2 (patch) | |
tree | bebd70ad10b3f557b4e2c740762322b173e72a57 /cpukit/libcsupport/src/rmdir.c | |
parent | 39d7d51fe3c466816d70184da06b957d6c8fdbcc (diff) |
Filesystem: Rename function
Rename rtems_filesystem_location_is_root() into
rtems_filesystem_location_is_instance_root() to distinguish this from
the file system root directory of the current task environment.
Diffstat (limited to 'cpukit/libcsupport/src/rmdir.c')
-rw-r--r-- | cpukit/libcsupport/src/rmdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/rmdir.c b/cpukit/libcsupport/src/rmdir.c index f2bc16e516..5e4c9f15be 100644 --- a/cpukit/libcsupport/src/rmdir.c +++ b/cpukit/libcsupport/src/rmdir.c @@ -38,7 +38,7 @@ int rmdir( const char *path ) rtems_filesystem_node_types_t type = (*ops->node_type_h)( currentloc ); if ( type == RTEMS_FILESYSTEM_DIRECTORY ) { - if ( !rtems_filesystem_location_is_root( currentloc ) ) { + if ( !rtems_filesystem_location_is_instance_root( currentloc ) ) { rv = (*ops->rmnod_h)( &parentloc, currentloc ); } else { rtems_filesystem_eval_path_error( &ctx, EBUSY ); |