From ae7e228924a803ca0de72deb3d5167a7f9c76390 Mon Sep 17 00:00:00 2001 From: Jeffrey Morlan Date: Thu, 26 Jun 2008 16:23:45 +0000 Subject: [PATCH] Fix infinite loop in PspDumpThreads svn path=/trunk/; revision=34108 --- reactos/ntoskrnl/ps/debug.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/ps/debug.c b/reactos/ntoskrnl/ps/debug.c index 42db185d12d..bb2fc03e07d 100644 --- a/reactos/ntoskrnl/ps/debug.c +++ b/reactos/ntoskrnl/ps/debug.c @@ -78,10 +78,10 @@ PspDumpThreads(BOOLEAN IncludeSystem) /* 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 */