diff --git a/reactos/ntoskrnl/mm/mdl.c b/reactos/ntoskrnl/mm/mdl.c index be8ff7294f5..7f24286de1c 100644 --- a/reactos/ntoskrnl/mm/mdl.c +++ b/reactos/ntoskrnl/mm/mdl.c @@ -437,7 +437,7 @@ VOID STDCALL MmProbeAndLockPages (PMDL Mdl, } } MmUnlockAddressSpace(AddressSpace); - ExRaiseStatus(Status); + ExRaiseStatus(STATUS_ACCESS_VIOLATION); } } else @@ -461,7 +461,7 @@ VOID STDCALL MmProbeAndLockPages (PMDL Mdl, } } MmUnlockAddressSpace(AddressSpace); - ExRaiseStatus(Status); + ExRaiseStatus(STATUS_ACCESS_VIOLATION); } } Page = MmGetPfnForProcess(NULL, Address);