Author: rharabien
Date: Fri Oct 7 19:31:47 2011
New Revision: 54050
URL:
http://svn.reactos.org/svn/reactos?rev=54050&view=rev
Log:
[NTOSKRNL] - Fix a copy-pasta. Fixes hand in 2nd stage.
Modified:
trunk/reactos/ntoskrnl/ke/semphobj.c
Modified: trunk/reactos/ntoskrnl/ke/semphobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/semphobj.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/semphobj.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/semphobj.c [iso-8859-1] Fri Oct 7 19:31:47 2011
@@ -26,7 +26,7 @@
/* Simply Initialize the Header */
Semaphore->Header.Type = SemaphoreObject;
Semaphore->Header.Size = sizeof(KSEMAPHORE) / sizeof(ULONG);
- Semaphore->Header.SignalState = 0;
+ Semaphore->Header.SignalState = Count;
InitializeListHead(&(Semaphore->Header.WaitListHead));
/* Set the Limit */