Author: ros-arm-bringup
Date: Sun Jun 28 02:51:23 2009
New Revision: 41650
URL:
http://svn.reactos.org/svn/reactos?rev=41650&view=rev
Log:
- Copying from destination to destination isn't very smart.
- Fix bug when creating the physical memory descriptor block.
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/init.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/init.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/init.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/init.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/init.c [iso-8859-1] Sun Jun 28 02:51:23 2009
@@ -260,7 +260,7 @@
// Copy the old buffer into the new, then free it
//
RtlCopyMemory(NewBuffer->Run,
- NewBuffer->Run,
+ Buffer->Run,
sizeof(PHYSICAL_MEMORY_RUN) * Run);
ExFreePool(Buffer);