And look who made a dumber mistake ;). Thanks WaxDragon
Modified: trunk/reactos/drivers/storage/scsiport/scsiport.c
_____
Modified: trunk/reactos/drivers/storage/scsiport/scsiport.c
--- trunk/reactos/drivers/storage/scsiport/scsiport.c 2005-04-28
23:17:13 UTC (rev 14857)
+++ trunk/reactos/drivers/storage/scsiport/scsiport.c 2005-04-29
02:13:42 UTC (rev 14858)
@@ -2147,8 +2147,6 @@
((PUCHAR)AdapterBusInfo + sizeof(SCSI_ADAPTER_BUS_INFO) +
(sizeof(SCSI_BUS_DATA) * (AdapterBusInfo->NumberOfBuses - 1)));
- RtlZeroMemory(UnitInfo, sizeof(*UnitInfo));
-
for (Bus = 0; Bus < AdapterBusInfo->NumberOfBuses; Bus++)
{
AdapterBusInfo->BusData[Bus].InitiatorBusId =
@@ -2171,7 +2169,7 @@
{
DPRINT("(Bus %lu Target %lu Lun %lu)\n",
Bus, Target, Lun);
-
+ RtlZeroMemory(UnitInfo, sizeof(*UnitInfo));
UnitInfo->PathId = Bus;
UnitInfo->TargetId = Target;
UnitInfo->Lun = Lun;
Show replies by date