Author: hbelusca Date: Fri May 8 23:47:33 2015 New Revision: 67604
URL: http://svn.reactos.org/svn/reactos?rev=67604&view=rev Log: [NTVDM]: hardcoded_values--;
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/device.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/device.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/dos/d... ============================================================================== --- trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/device.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/device.c [iso-8859-1] Fri May 8 23:47:33 2015 @@ -358,7 +358,7 @@ }
/* Create a driver header for this device */ - Segment = DosAllocateMemory(sizeof(DOS_DRIVER) + 10 + PrivateDataSize, NULL); + Segment = DosAllocateMemory(sizeof(DOS_DRIVER) + DEVICE_CODE_SIZE + PrivateDataSize, NULL); if (Segment == 0) return NULL;
/* Fill the header with data */