mirror of
https://github.com/reactos/reactos.git
synced 2025-04-12 00:29:04 +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;
|
PMMPTE FirstPte, LastPte;
|
||||||
|
|
||||||
/* Check if the registry setting is on or not */
|
/* Check if the registry setting is on or not */
|
||||||
if (MmEnforceWriteProtection)
|
if (MmEnforceWriteProtection == FALSE)
|
||||||
{
|
{
|
||||||
/* Ignore section protection */
|
/* Ignore section protection */
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue