KD System Rewrite:
[reactos.git] / reactos / ntoskrnl / ke / sem.c
index f949905..2d3fe4d 100644 (file)
@@ -111,7 +111,7 @@ KeReleaseSemaphore(PKSEMAPHORE Semaphore,
     if (InitialState == 0 && !IsListEmpty(&Semaphore->Header.WaitListHead)) {
         
         /* Wake the Semaphore */
-        KiWaitTest(&Semaphore->Header, SEMAPHORE_INCREMENT);
+        KiWaitTest(&Semaphore->Header, Increment);
     }
 
     /* If the Wait is true, then return with a Wait and don't unlock the Dispatcher Database */