aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/mount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/mount.cc')
-rw-r--r--winsup/cygwin/mount.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc
index 2621680..acde67e 100644
--- a/winsup/cygwin/mount.cc
+++ b/winsup/cygwin/mount.cc
@@ -78,7 +78,7 @@ win32_device_name (const char *src_path, char *win32_path, device& dev)
dev.parse (src_path);
if (dev == FH_FS || dev == FH_DEV)
return false;
- strcpy (win32_path, dev.native);
+ strcpy (win32_path, dev.native ());
return true;
}