[NTOS]
authorAleksey Bragin <aleksey@reactos.org>
Thu, 23 Dec 2010 09:14:42 +0000 (09:14 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Thu, 23 Dec 2010 09:14:42 +0000 (09:14 +0000)
- Fix copypasta, thanks Victor!

svn path=/trunk/; revision=50111

reactos/ntoskrnl/mm/ARM3/virtual.c

index 2feff79..466bccf 100644 (file)
@@ -2458,7 +2458,7 @@ MiQueryMemoryBasicInformation(IN HANDLE ProcessHandle,
                 ASSERT(BaseVpn > Vad->EndingVpn);
 
                 /* Stop if there is no right child */
-                if (!Vad->LeftChild) break;
+                if (!Vad->RightChild) break;
 
                 /* Search on the right next */
                 Vad = Vad->RightChild;