[NTOSKRNL]: When you rewrite my ASM code, get it right, dumbasses. Thanks Stefan.

svn path=/trunk/; revision=55690
This commit is contained in:
Alex Ionescu 2012-02-19 00:08:50 +00:00
parent 1966e04ee2
commit 727c97602e

View file

@ -171,7 +171,7 @@ KiExitSystemCallDebugChecks(IN ULONG SystemCall,
} }
/* Make sure we're not attached and that APCs are not disabled */ /* Make sure we're not attached and that APCs are not disabled */
if ((KeGetCurrentThread()->ApcStateIndex != CurrentApcEnvironment) || if ((KeGetCurrentThread()->ApcStateIndex != OriginalApcEnvironment) ||
(KeGetCurrentThread()->CombinedApcDisable != 0)) (KeGetCurrentThread()->CombinedApcDisable != 0))
{ {
/* Fail */ /* Fail */