mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Fix signalstate check in KGATE code; spotted by magey.
svn path=/trunk/; revision=18017
This commit is contained in:
parent
c6d8b12b89
commit
081b39d0ef
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ KeWaitForGate(PKGATE Gate,
|
|||
OldIrql = KeAcquireDispatcherDatabaseLock();
|
||||
|
||||
/* Check if it's already signaled */
|
||||
if (!Gate->Header.SignalState)
|
||||
if (Gate->Header.SignalState)
|
||||
{
|
||||
/* Unsignal it */
|
||||
Gate->Header.SignalState = 0;
|
||||
|
|
Loading…
Reference in a new issue