[NTOS:MM]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 2 Sep 2017 15:18:02 +0000 (15:18 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 2 Sep 2017 15:18:02 +0000 (15:18 +0000)
- Improve inaccurate debug print

svn path=/trunk/; revision=75742

reactos/ntoskrnl/mm/ARM3/pool.c

index f3d0315..ce72c16 100644 (file)
@@ -493,7 +493,7 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
                 //
                 // Out of memory!
                 //
                 //
                 // Out of memory!
                 //
-                DPRINT1("OUT OF PAGED POOL!!!\n");
+                DPRINT1("FAILED to allocate %Iu bytes from paged pool\n", SizeInBytes);
                 KeReleaseGuardedMutex(&MmPagedPoolMutex);
                 return NULL;
             }
                 KeReleaseGuardedMutex(&MmPagedPoolMutex);
                 return NULL;
             }
@@ -610,7 +610,7 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
                 //
                 // Out of memory!
                 //
                 //
                 // Out of memory!
                 //
-                DPRINT1("OUT OF PAGED POOL!!!\n");
+                DPRINT1("FAILED to allocate %Iu bytes from paged pool\n", SizeInBytes);
                 KeReleaseGuardedMutex(&MmPagedPoolMutex);
                 return NULL;
             }
                 KeReleaseGuardedMutex(&MmPagedPoolMutex);
                 return NULL;
             }