[PCIX]
authorCameron Gutman <aicommander@gmail.com>
Wed, 28 Oct 2015 01:11:00 +0000 (01:11 +0000)
committerCameron Gutman <aicommander@gmail.com>
Wed, 28 Oct 2015 01:11:00 +0000 (01:11 +0000)
- Fix typo in QueryInterface size field

svn path=/trunk/; revision=69727

reactos/drivers/bus/pcix/pci/config.c

index bacd081..def8ee4 100644 (file)
@@ -173,7 +173,7 @@ PciQueryForPciBusInterface(IN PPCI_FDO_EXTENSION FdoExtension)
         ASSERT(IoStackLocation->MajorFunction == IRP_MJ_PNP);
         IoStackLocation->MinorFunction = IRP_MN_QUERY_INTERFACE;
         IoStackLocation->Parameters.QueryInterface.InterfaceType = &GUID_PCI_BUS_INTERFACE_STANDARD;
-        IoStackLocation->Parameters.QueryInterface.Size = sizeof(GUID_PCI_BUS_INTERFACE_STANDARD);
+        IoStackLocation->Parameters.QueryInterface.Size = sizeof(PCI_BUS_INTERFACE_STANDARD);
         IoStackLocation->Parameters.QueryInterface.Version = PCI_BUS_INTERFACE_STANDARD_VERSION;
         IoStackLocation->Parameters.QueryInterface.Interface = (PINTERFACE)PciInterface;
         IoStackLocation->Parameters.QueryInterface.InterfaceSpecificData = NULL;