mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
fix typo (spotted by Ged)
svn path=/trunk/; revision=38931
This commit is contained in:
parent
c1f8a4fdc2
commit
2eb7079e6c
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ NtAllocateVirtualMemory(IN HANDLE ProcessHandle,
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue