Tip of the day: Never let a sick person code.

svn path=/trunk/; revision=20222
This commit is contained in:
Filip Navara 2005-12-17 12:16:28 +00:00
parent e25fc6f865
commit d9af371509

View file

@ -826,7 +826,7 @@ GetVolumeNameForVolumeMountPointW(
* an NT acceptable name.
*/
if (!RtlDosPathNameToNtPathName_U(VolumeName, &NtFileName, NULL, NULL))
if (!RtlDosPathNameToNtPathName_U(VolumeMountPoint, &NtFileName, NULL, NULL))
{
SetLastError(ERROR_PATH_NOT_FOUND);
return FALSE;