[ros-diffs] [fireball] 15862: Fix pdo->fdo typo, causing serious errors, ending up driver unloadable at all.

fireball at svn.reactos.com fireball at svn.reactos.com
Sat Jun 11 23:30:02 CEST 2005


Fix pdo->fdo typo, causing serious errors, ending up driver unloadable
at all.
Modified: trunk/reactos/drivers/usb/cromwell/host/ohci_main.c
  _____  

Modified: trunk/reactos/drivers/usb/cromwell/host/ohci_main.c
--- trunk/reactos/drivers/usb/cromwell/host/ohci_main.c	2005-06-11
19:56:12 UTC (rev 15861)
+++ trunk/reactos/drivers/usb/cromwell/host/ohci_main.c	2005-06-11
21:29:59 UTC (rev 15862)
@@ -77,7 +77,7 @@

 	}
 
 	// zerofill device extension
-	DeviceExtension = (POHCI_DEVICE_EXTENSION)pdo->DeviceExtension;
+	DeviceExtension = (POHCI_DEVICE_EXTENSION)fdo->DeviceExtension;
 	RtlZeroMemory(DeviceExtension, sizeof(OHCI_DEVICE_EXTENSION));
 	DeviceExtension->NextDeviceObject =
IoAttachDeviceToDeviceStack(fdo, pdo);
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050611/19124d4d/attachment.html


More information about the Ros-diffs mailing list