diff options
Diffstat (limited to 'cpukit/libcsupport/src/unlink.c')
-rw-r--r-- | cpukit/libcsupport/src/unlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/unlink.c b/cpukit/libcsupport/src/unlink.c index 2a3b1c75a8..a007cc293b 100644 --- a/cpukit/libcsupport/src/unlink.c +++ b/cpukit/libcsupport/src/unlink.c @@ -35,7 +35,7 @@ int unlink( const char *path ) parent_eval_flags ); - if ( !rtems_filesystem_location_is_root( currentloc ) ) { + if ( !rtems_filesystem_location_is_instance_root( currentloc ) ) { const rtems_filesystem_operations_table *ops = currentloc->mt_entry->ops; rv = (*ops->rmnod_h)( &parentloc, currentloc ); |