Oleksij Rempel : krnl386.exe: Fix drive spec in get_media_id call.
Alexandre Julliard
julliard at winehq.org
Wed May 30 13:18:52 CDT 2012
Module: wine
Branch: master
Commit: fa3038c6bda292f156d98316d65f5b03433f7b22
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fa3038c6bda292f156d98316d65f5b03433f7b22
Author: Oleksij Rempel <bug-track at fisher-privat.net>
Date: Tue May 29 23:10:08 2012 +0200
krnl386.exe: Fix drive spec in get_media_id call.
---
dlls/krnl386.exe16/int21.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/krnl386.exe16/int21.c b/dlls/krnl386.exe16/int21.c
index f25194b..3652054 100644
--- a/dlls/krnl386.exe16/int21.c
+++ b/dlls/krnl386.exe16/int21.c
@@ -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);
More information about the wine-cvs
mailing list