Author: gschneider
Date: Sun Dec 20 14:47:20 2009
New Revision: 44670
URL:
http://svn.reactos.org/svn/reactos?rev=44670&view=rev
Log:
[userenv] Print the directory name when GetShortPathNameW fails
Modified:
trunk/reactos/dll/win32/userenv/environment.c
Modified: trunk/reactos/dll/win32/userenv/environment.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/userenv/environm…
==============================================================================
--- trunk/reactos/dll/win32/userenv/environment.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/userenv/environment.c [iso-8859-1] Sun Dec 20 14:47:20 2009
@@ -85,7 +85,7 @@
{
if (!GetShortPathNameW(DstValue.Buffer, ShortName, MAX_PATH))
{
- DPRINT1("GetShortPathNameW() failed (Error %lu)\n", GetLastError());
+ DPRINT1("GetShortPathNameW() failed for %S (Error %lu)\n",
DstValue.Buffer, GetLastError());
if (Buffer) LocalFree(Buffer);
return FALSE;
}