diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/chdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/chdir.c b/cpukit/libcsupport/src/chdir.c index fb6f7e6497..ccc7a567ba 100644 --- a/cpukit/libcsupport/src/chdir.c +++ b/cpukit/libcsupport/src/chdir.c @@ -35,7 +35,7 @@ int chdir( */ result = rtems_filesystem_evaluate_path( - pathname, RTEMS_LIBIO_PERMS_SEARCH, &loc, true ); + pathname, strlen( pathname ), RTEMS_LIBIO_PERMS_SEARCH, &loc, true ); if ( result != 0 ) return -1; |