Author: jmorlan Date: Thu Jun 26 11:23:45 2008 New Revision: 34108
URL: http://svn.reactos.org/svn/reactos?rev=34108&view=rev Log: Fix infinite loop in PspDumpThreads
Modified: trunk/reactos/ntoskrnl/ps/debug.c
Modified: trunk/reactos/ntoskrnl/ps/debug.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/debug.c?rev=341... ============================================================================== --- trunk/reactos/ntoskrnl/ps/debug.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ps/debug.c [iso-8859-1] Thu Jun 26 11:23:45 2008 @@ -78,10 +78,10 @@ /* Print a new line if there's nothing */ if((i % 8) != 0) DbgPrint("\n"); } + + /* Move to the next Thread */ + CurrentThread = CurrentThread->Flink; } - - /* Move to the next Thread */ - CurrentThread = CurrentThread->Flink; }
/* Move to the next Process */