Author: cwittich
Date: Mon Jan 19 03:22:59 2009
New Revision: 38931
URL:
http://svn.reactos.org/svn/reactos?rev=38931&view=rev
Log:
fix typo (spotted by Ged)
Modified:
trunk/reactos/ntoskrnl/mm/anonmem.c
Modified: trunk/reactos/ntoskrnl/mm/anonmem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/anonmem.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/anonmem.c [iso-8859-1] Mon Jan 19 03:22:59 2009
@@ -569,7 +569,7 @@
Protect);
/* Check for valid protection flags */
- if ((!Protect & PAGE_FLAGS_VALID_FROM_USER_MODE))
+ if (!(Protect & PAGE_FLAGS_VALID_FROM_USER_MODE))
{
DPRINT1("Invalid page protection\n");
return STATUS_INVALID_PAGE_PROTECTION;