[NTOS]: Warn only once about MmLockPageableImageSection being unimplemented.
authorSir Richard <sir_richard@svn.reactos.org>
Sun, 27 Jun 2010 19:55:36 +0000 (19:55 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Sun, 27 Jun 2010 19:55:36 +0000 (19:55 +0000)
svn path=/trunk/; revision=47864

reactos/ntoskrnl/mm/ARM3/drvmgmt.c

index ad85c47..265a771 100644 (file)
@@ -60,7 +60,7 @@ MmLockPageableDataSection(IN PVOID AddressWithinSection)
     //
     // We should just find the section and call MmLockPageableSectionByHandle
     //
     //
     // We should just find the section and call MmLockPageableSectionByHandle
     //
-    UNIMPLEMENTED;
+    static BOOLEAN Warn; if (!Warn++) UNIMPLEMENTED;
     return AddressWithinSection;
 }
 
     return AddressWithinSection;
 }