Fix compilation when ENABLE_VALIDATE_POOL is defined
Modified: trunk/reactos/ntoskrnl/mm/npool.c
_____
Modified: trunk/reactos/ntoskrnl/mm/npool.c
--- trunk/reactos/ntoskrnl/mm/npool.c 2005-09-05 09:25:06 UTC (rev
17656)
+++ trunk/reactos/ntoskrnl/mm/npool.c 2005-09-05 09:26:02 UTC (rev
17657)
@@ -1049,8 +1049,8 @@
DbgPrint("intersecting blocks on list\n");
KEBUGCHECK(/*KBUG_POOL_FREE_LIST_CORRUPT*/0);
}
- if ( (ULONG_PTR)current < base &&
- ((ULONG_PTR)current + current->hdr.Size) > base )
+ if ( (ULONG_PTR)used < base &&
+ ((ULONG_PTR)used + used->hdr.Size) > base )
{
DbgPrint("intersecting blocks on list\n");
KEBUGCHECK(/*KBUG_POOL_FREE_LIST_CORRUPT*/0);
@@ -1077,7 +1077,7 @@
p = avl_get_first(FreeBlockListRoot);
while (p)
{
- freet = CONTAINING_RECORD(p, HDR_FREE, Node);
+ free = CONTAINING_RECORD(p, HDR_FREE, Node);
check_duplicates(&free->hdr);
p = avl_get_next(FreeBlockListRoot, p);
}
Show replies by date