summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 105092e58..23bf2c207 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -3358,7 +3358,7 @@ fchdir (int fd)
int res;
cygheap_fdget cfd (fd);
if (cfd >= 0)
- res = chdir (cfd->get_win32_name ());
+ res = chdir (cfd->get_name ());
else
res = -1;