mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +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…
Add table
Add a link
Reference in a new issue