properly query the device map
Modified: trunk/reactos/subsys/system/autochk/autochk.c
--- trunk/reactos/subsys/system/autochk/autochk.c 2005-01-21 21:06:40 UTC (rev 13193) +++ trunk/reactos/subsys/system/autochk/autochk.c 2005-01-21 21:29:29 UTC (rev 13194) @@ -76,8 +76,8 @@
Status = NtQueryInformationProcess(NtCurrentProcess(), ProcessDeviceMap,
- &DeviceMap,
- sizeof(DeviceMap),
+ &DeviceMap.Query,
+ sizeof(DeviceMap.Query),
NULL); if(NT_SUCCESS(Status)) {