From 71f55db0d5a05bfe2d961d751195918d8b206512 Mon Sep 17 00:00:00 2001 From: Rafal Harabien Date: Fri, 7 Oct 2011 19:31:47 +0000 Subject: [PATCH] [NTOSKRNL] - Fix a copy-pasta. Fixes hand in 2nd stage. svn path=/trunk/; revision=54050 --- reactos/ntoskrnl/ke/semphobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/ke/semphobj.c b/reactos/ntoskrnl/ke/semphobj.c index bb2af4f5285..28fc1fbcc46 100644 --- a/reactos/ntoskrnl/ke/semphobj.c +++ b/reactos/ntoskrnl/ke/semphobj.c @@ -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 */