mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NTOSKRNL] - Fix a copy-pasta. Fixes hand in 2nd stage.
svn path=/trunk/; revision=54050
This commit is contained in:
parent
2165832424
commit
71f55db0d5
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ KeInitializeSemaphore(IN PKSEMAPHORE Semaphore,
|
||||||
/* Simply Initialize the Header */
|
/* Simply Initialize the Header */
|
||||||
Semaphore->Header.Type = SemaphoreObject;
|
Semaphore->Header.Type = SemaphoreObject;
|
||||||
Semaphore->Header.Size = sizeof(KSEMAPHORE) / sizeof(ULONG);
|
Semaphore->Header.Size = sizeof(KSEMAPHORE) / sizeof(ULONG);
|
||||||
Semaphore->Header.SignalState = 0;
|
Semaphore->Header.SignalState = Count;
|
||||||
InitializeListHead(&(Semaphore->Header.WaitListHead));
|
InitializeListHead(&(Semaphore->Header.WaitListHead));
|
||||||
|
|
||||||
/* Set the Limit */
|
/* Set the Limit */
|
||||||
|
|
Loading…
Reference in a new issue