[CSRSS]: Fix yet another bug in the unused csrss code.

svn path=/trunk/; revision=46040
This commit is contained in:
Sir Richard 2010-03-09 18:22:25 +00:00
parent f316f00072
commit 9c91a4dc46

View file

@ -157,7 +157,7 @@ CsrLocateThreadInProcess(IN PCSR_PROCESS CsrProcess OPTIONAL,
NextEntry = ListHead->Flink;
/* Start the Loop */
while (NextEntry != NextEntry)
while (NextEntry != ListHead)
{
/* Get Thread Entry */
FoundThread = CONTAINING_RECORD(NextEntry, CSR_THREAD, Link);