diff options
-rw-r--r-- | c/src/lib/libc/chdir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libc/chdir.c b/c/src/lib/libc/chdir.c index 4ab5c84cb8..d20c7f6793 100644 --- a/c/src/lib/libc/chdir.c +++ b/c/src/lib/libc/chdir.c @@ -29,7 +29,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; |