Author: fireball
Date: Mon Nov 5 16:06:53 2007
New Revision: 30172
URL:
http://svn.reactos.org/svn/reactos?rev=30172&view=rev
Log:
- Add more debug prints in failure cases.
Modified:
trunk/reactos/drivers/storage/scsiport/scsiport.c
Modified: trunk/reactos/drivers/storage/scsiport/scsiport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/scsiport.c (original)
+++ trunk/reactos/drivers/storage/scsiport/scsiport.c Mon Nov 5 16:06:53 2007
@@ -1097,7 +1097,10 @@
FirstConfigCall);
if (!NT_SUCCESS(Status))
+ {
+ DPRINT1("SpiCreatePortConfig() failed with Status 0x%08X\n",
Status);
break;
+ }
/* Allocate and initialize port configuration info */
PortConfigSize = (sizeof(PORT_CONFIGURATION_INFORMATION) +
@@ -5600,8 +5603,13 @@
else
{
/* Info was not found, exit */
+ DPRINT1("ZwOpenKey() failed with Status=0x%08X\n", Status);
return STATUS_DEVICE_DOES_NOT_EXIST;
}
+ }
+ else
+ {
+ DPRINT1("ZwOpenKey() failed with Status=0x%08X\n", Status);
}
}