summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/fchdir.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/libcsupport/src/fchdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/fchdir.c b/cpukit/libcsupport/src/fchdir.c
index 603288614d..0f3cf9ebb3 100644
--- a/cpukit/libcsupport/src/fchdir.c
+++ b/cpukit/libcsupport/src/fchdir.c
@@ -76,7 +76,7 @@ int fchdir(
rtems_filesystem_current = iop->pathinfo;
/* clone the current node */
- if (rtems_filesystem_evaluate_path(".", 0, &loc, 0)) {
+ if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {
/* cloning failed; restore original and bail out */
rtems_filesystem_current = saved;
return -1;