https://git.reactos.org/?p=reactos.git;a=commitdiff;h=feb7275bc84d4cd5d4b0e266bb2ba419ce98ea91

commit feb7275bc84d4cd5d4b0e266bb2ba419ce98ea91
Author:     Thomas Faber <[email protected]>
AuthorDate: Wed Feb 5 10:23:22 2020 +0100
Commit:     Thomas Faber <[email protected]>
CommitDate: Sat Feb 8 13:00:32 2020 +0100

    [NTOS:MM] Use POOL_BILLED_PROCESS_INVALID constant.
---
 ntoskrnl/mm/ARM3/expool.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ntoskrnl/mm/ARM3/expool.c b/ntoskrnl/mm/ARM3/expool.c
index bccb0e9bbdd..e5c3bfe007f 100644
--- a/ntoskrnl/mm/ARM3/expool.c
+++ b/ntoskrnl/mm/ARM3/expool.c
@@ -1826,7 +1826,7 @@ ExReturnPoolQuota(IN PVOID P)
                 DPRINT1("Object %p is not a process. Type %u, pool type 0x%x, 
block size %u\n",
                         Process, Process->Pcb.Header.Type, Entry->PoolType, 
BlockSize);
                 KeBugCheckEx(BAD_POOL_CALLER,
-                             0x0D,
+                             POOL_BILLED_PROCESS_INVALID,
                              (ULONG_PTR)P,
                              Entry->PoolTag,
                              (ULONG_PTR)Process);
@@ -2659,7 +2659,7 @@ ExFreePoolWithTag(IN PVOID P,
                 DPRINT1("Object %p is not a process. Type %u, pool type 0x%x, 
block size %u\n",
                         Process, Process->Pcb.Header.Type, Entry->PoolType, 
BlockSize);
                 KeBugCheckEx(BAD_POOL_CALLER,
-                             0x0D,
+                             POOL_BILLED_PROCESS_INVALID,
                              (ULONG_PTR)P,
                              Tag,
                              (ULONG_PTR)Process);

Reply via email to