diff options
author | Christopher Faylor <me@cgf.cx> | 2006-12-10 21:50:06 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-12-10 21:50:06 +0000 |
commit | c2b8862303ad51c1b8f1dc62bf8c99f9a343e63f (patch) | |
tree | 421f9e2ebfdf3859befe2f03623403fbe8918684 /winsup/utils/mount.cc | |
parent | cbfb7b1b23fe1e382298b45cbcb214c8d088ac77 (diff) | |
download | newlib-c2b8862303ad51c1b8f1dc62bf8c99f9a343e63f.zip newlib-c2b8862303ad51c1b8f1dc62bf8c99f9a343e63f.tar.gz newlib-c2b8862303ad51c1b8f1dc62bf8c99f9a343e63f.tar.bz2 |
* mount.cc (do_mount): Avoid unnecessary cygwin_conv_to_win32_path and pass
POSIX path directly - this avoids a cygwin DLL warning.
Diffstat (limited to 'winsup/utils/mount.cc')
-rw-r--r-- | winsup/utils/mount.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc index 9410642..ec2d9b6 100644 --- a/winsup/utils/mount.cc +++ b/winsup/utils/mount.cc @@ -52,12 +52,9 @@ static void do_mount (const char *dev, const char *where, int flags) { struct stat statbuf; - char win32_path[MAX_PATH]; int statres; - cygwin_conv_to_win32_path (where, win32_path); - - statres = stat (win32_path, &statbuf); + statres = stat (where, &statbuf); #if 0 if (statres == -1) |