Tip of the day: Never let a sick person code.
authorFilip Navara <filip.navara@gmail.com>
Sat, 17 Dec 2005 12:16:28 +0000 (12:16 +0000)
committerFilip Navara <filip.navara@gmail.com>
Sat, 17 Dec 2005 12:16:28 +0000 (12:16 +0000)
svn path=/trunk/; revision=20222

reactos/lib/kernel32/file/volume.c

index a7e07ae..48e1062 100644 (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;