mirror of
https://github.com/reactos/reactos.git
synced 2024-12-12 04:43:48 +08:00
[NTOS::Mm] Fix inverted check in MiWriteProtectSystemImage
This commit is contained in:
parent
07608028b3
commit
81727760e4
@ -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 New Issue
Block a user