[NTOSKRNL] - Fix a copy-pasta. Fixes hand in 2nd stage.

svn path=/trunk/; revision=54050
This commit is contained in:
Rafal Harabien 2011-10-07 19:31:47 +00:00
parent 2165832424
commit 71f55db0d5

View file

@ -26,7 +26,7 @@ KeInitializeSemaphore(IN PKSEMAPHORE Semaphore,
/* 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 */