Use correct flag while checking for uninitialized segments.
Modified: trunk/reactos/ntoskrnl/mm/section.c
--- trunk/reactos/ntoskrnl/mm/section.c 2005-05-28 07:32:23 UTC (rev 15558) +++ trunk/reactos/ntoskrnl/mm/section.c 2005-05-28 07:34:54 UTC (rev 15559) @@ -861,7 +861,7 @@
/* * Map anonymous memory for BSS sections */
- if (Segment->Characteristics & IMAGE_SCN_LNK_OTHER)
+ if (Segment->Characteristics & IMAGE_SCN_CNT_UNINITIALIZED_DATA)
{ MmUnlockSectionSegment(Segment); Status = MmRequestPageMemoryConsumer(MC_USER, FALSE, &Page);