Merge 14551:14980 from trunk
[reactos.git] / reactos / drivers / dd / serial / devctrl.c
index ee4c0bf..2f0f83c 100644 (file)
@@ -200,7 +200,7 @@ SerialGetPerfStats(IN PIRP pIrp)
        PSERIAL_DEVICE_EXTENSION pDeviceExtension;
        pDeviceExtension = (PSERIAL_DEVICE_EXTENSION)
                IoGetCurrentIrpStackLocation(pIrp)->DeviceObject->DeviceExtension;
-       ASSERT(DeviceExtension);
+       ASSERT(pDeviceExtension);
        /*
         * we assume buffer is big enough to hold SerialPerfStats structure
         * caller must verify this