mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 02:50:55 +00:00
Tip of the day: Never let a sick person code.
svn path=/trunk/; revision=20222
This commit is contained in:
parent
e25fc6f865
commit
d9af371509
|
@ -826,7 +826,7 @@ GetVolumeNameForVolumeMountPointW(
|
||||||
* an NT acceptable name.
|
* an NT acceptable name.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!RtlDosPathNameToNtPathName_U(VolumeName, &NtFileName, NULL, NULL))
|
if (!RtlDosPathNameToNtPathName_U(VolumeMountPoint, &NtFileName, NULL, NULL))
|
||||||
{
|
{
|
||||||
SetLastError(ERROR_PATH_NOT_FOUND);
|
SetLastError(ERROR_PATH_NOT_FOUND);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue