Tip of the day: Never let a sick person code.
Modified: trunk/reactos/lib/kernel32/file/volume.c
--- trunk/reactos/lib/kernel32/file/volume.c 2005-12-17 12:13:06 UTC (rev 20221) +++ trunk/reactos/lib/kernel32/file/volume.c 2005-12-17 12:16:28 UTC (rev 20222) @@ -826,7 +826,7 @@
* 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;