mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[NTOS::Mm] Fix inverted check in MiWriteProtectSystemImage
This commit is contained in:
parent
07608028b3
commit
81727760e4
1 changed files with 1 additions and 1 deletions
|
@ -2389,7 +2389,7 @@ MiWriteProtectSystemImage(
|
|||
PMMPTE FirstPte, LastPte;
|
||||
|
||||
/* Check if the registry setting is on or not */
|
||||
if (MmEnforceWriteProtection)
|
||||
if (MmEnforceWriteProtection == FALSE)
|
||||
{
|
||||
/* Ignore section protection */
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue