summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-02-20 09:17:07 +0000
committerCorinna Vinschen <corinna@vinschen.de>2010-02-20 09:17:07 +0000
commit53a918f3d63b67532dde8287ce653ca84b28f65c (patch)
treef1d346040a592cfc3ba5b3423e2b86cda47677c7 /winsup/cygwin/path.cc
parent3afd8b74d9b370d6d951d69ffa7b863b4ca7efab (diff)
downloadcygnal-53a918f3d63b67532dde8287ce653ca84b28f65c.tar.gz
cygnal-53a918f3d63b67532dde8287ce653ca84b28f65c.tar.bz2
cygnal-53a918f3d63b67532dde8287ce653ca84b28f65c.zip
* path.cc (warn_msdos): Enforce extended hex printing of multibyte
pathnames.
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 82c96c7e6..d12998071 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -476,10 +476,10 @@ warn_msdos (const char *src)
small_printf ("cygwin warning:\n");
if (cygwin_conv_path (CCP_WIN_A_TO_POSIX | CCP_RELATIVE, src,
posix_path, NT_MAX_PATH))
- small_printf (" MS-DOS style path detected: %s\n POSIX equivalent preferred.\n",
+ small_printf (" MS-DOS style path detected: %ls\n POSIX equivalent preferred.\n",
src);
else
- small_printf (" MS-DOS style path detected: %s\n Preferred POSIX equivalent is: %s\n",
+ small_printf (" MS-DOS style path detected: %ls\n Preferred POSIX equivalent is: %ls\n",
src, posix_path);
small_printf (" CYGWIN environment variable option \"nodosfilewarning\" turns off this warning.\n"
" Consult the user's guide for more details about POSIX paths:\n"