mirror of
https://github.com/reactos/reactos.git
synced 2025-05-30 14:39:46 +00:00
[userenv] Print the directory name when GetShortPathNameW fails
svn path=/trunk/; revision=44670
This commit is contained in:
parent
114bcb2c56
commit
60f61011e7
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ SetUserEnvironmentVariable (LPVOID *Environment,
|
|||
{
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue