From f4ff4e648a1f924c6179f79eab03347380ccd6f4 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Mon, 1 Aug 2005 11:46:30 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20a=20typo.=20Thanks=20to=20Herv=C3=A9=20Po?= =?UTF-8?q?ussineau=20for=20noticing.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=16946 --- reactos/ntoskrnl/include/internal/mm.h | 2 +- reactos/ntoskrnl/mm/pool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/include/internal/mm.h b/reactos/ntoskrnl/include/internal/mm.h index 226ccfbd838..7d9e1df067d 100644 --- a/reactos/ntoskrnl/include/internal/mm.h +++ b/reactos/ntoskrnl/include/internal/mm.h @@ -308,7 +308,7 @@ extern PVOID MmPagedPoolBase; extern ULONG MmPagedPoolSize; #define PAGED_POOL_MASK 1 -#define MUST_SUCCEES_POOL_MASK 2 +#define MUST_SUCCEED_POOL_MASK 2 #define CACHE_ALIGNED_POOL_MASK 4 #define QUOTA_POOL_MASK 8 #define SESSION_POOL_MASK 32 diff --git a/reactos/ntoskrnl/mm/pool.c b/reactos/ntoskrnl/mm/pool.c index 932a9710987..eac3bb029f3 100644 --- a/reactos/ntoskrnl/mm/pool.c +++ b/reactos/ntoskrnl/mm/pool.c @@ -40,7 +40,7 @@ EiAllocatePool(POOL_TYPE PoolType, Block = ExAllocateNonPagedPoolWithTag(PoolType,NumberOfBytes,Tag,Caller); } - if ((PoolType & MUST_SUCCEES_POOL_MASK) && Block==NULL) + if ((PoolType & MUST_SUCCEED_POOL_MASK) && Block==NULL) { KEBUGCHECK(MUST_SUCCEED_POOL_EMPTY); }