Commit fa3038c6 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Alexandre Julliard

krnl386.exe: Fix drive spec in get_media_id call.

parent 83196d0c
......@@ -2609,8 +2609,9 @@ static void INT21_Ioctl_Block( CONTEXT *context )
{
WCHAR label[12],fsname[9];
DWORD serial;
TRACE( "GENERIC IOCTL - Get media id - %c:\n",
'A' + drive );
drivespec[0] += drive;
GetVolumeInformationW(drivespec, label, 12, &serial, NULL, NULL, fsname, 9);
*(WORD*)dataptr = 0;
memcpy(dataptr+2,&serial,4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment