summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/chdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/chdir.c')
-rw-r--r--cpukit/libcsupport/src/chdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/chdir.c b/cpukit/libcsupport/src/chdir.c
index 4bcb30075e..83a359a982 100644
--- a/cpukit/libcsupport/src/chdir.c
+++ b/cpukit/libcsupport/src/chdir.c
@@ -39,7 +39,7 @@ int rtems_filesystem_chdir( rtems_filesystem_location_info_t *loc )
);
} else {
rtems_filesystem_location_error( &global_loc->location, ENOTDIR );
- rtems_filesystem_global_location_release( global_loc );
+ rtems_filesystem_global_location_release( global_loc, true );
rv = -1;
}