summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/src/chdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libcsupport/src/chdir.c')
-rw-r--r--c/src/exec/libcsupport/src/chdir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/exec/libcsupport/src/chdir.c b/c/src/exec/libcsupport/src/chdir.c
index ca20919e93..a8322e91d0 100644
--- a/c/src/exec/libcsupport/src/chdir.c
+++ b/c/src/exec/libcsupport/src/chdir.c
@@ -33,7 +33,8 @@ int chdir(
* Get the node where we wish to go.
*/
- result = rtems_filesystem_evaluate_path( pathname, 0, &loc, TRUE );
+ result = rtems_filesystem_evaluate_path(
+ pathname, RTEMS_LIBIO_PERMS_SEARCH, &loc, TRUE );
if ( result != 0 )
return -1;