- Fix missing initialization of KdComPortInUse, containing the base address of the...
[reactos.git] / reactos / drivers / base / kddll / kdcom.c
index 22d806c..343bce8 100644 (file)
@@ -204,6 +204,7 @@ KdDebuggerInitialize0(
 
     /* Get base address */
     ComPortBase = UlongToPtr(BaseArray[ComPortNumber]);
+    KdComPortInUse = ComPortBase;
 
     /* Initialize the port */
     return KdpPortInitialize();