use correct wait mode when checking alertability in KeDelayExecuteThread. thanks to gunnar for noticing the bug

svn path=/trunk/; revision=17479
This commit is contained in:
Alex Ionescu 2005-08-22 23:33:51 +00:00
parent db6c51690e
commit f3f3986cdc

View file

@ -111,7 +111,7 @@ KeDelayExecutionThread(KPROCESSOR_MODE WaitMode,
do {
/* We are going to wait no matter what (that's the point), so test Alertability */
if (KiCheckAlertability(Alertable, CurrentThread, KernelMode, &Status))
if (KiCheckAlertability(Alertable, CurrentThread, WaitMode, &Status))
break;
/* Set Timer */