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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 6c9bc231e..7f0e5b81f 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -312,8 +312,8 @@ normalize_posix_path (const char *src, char *dst, char *&tail)
if (check_parent)
{
*tail = 0;
- debug_printf ("checking %s before '..'", dst_start);
- path_conv head (dst_start);
+ debug_printf ("checking %s before '..'", dst);
+ path_conv head (dst);
if (!head.isdir())
return ENOENT;
check_parent = false;