mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[KMTESTS:MM] Fix 'PAGE_NOACCESS' copypasta, in an error string
ROSTESTS-110
This commit is contained in:
committed by
Jérôme Gardou
parent
5d91d52417
commit
a4859bf283
@@ -452,7 +452,7 @@ BehaviorChecks(HANDLE FileHandleReadOnly, HANDLE FileHandleWriteOnly)
|
||||
ViewSize = 0;
|
||||
SectionOffset.QuadPart = 0;
|
||||
Status = ZwMapViewOfSection(WriteSectionHandle, NtCurrentProcess(), &BaseAddress, 0, 0, &SectionOffset, &ViewSize, ViewUnmap, 0, PAGE_GUARD | PAGE_READWRITE);
|
||||
if (!skip(NT_SUCCESS(Status), "Error mapping view with PAGE_NOACCESS priv. Error = %p\n", Status))
|
||||
if (!skip(NT_SUCCESS(Status), "Error mapping view with PAGE_GUARD priv. Error = %p\n", Status))
|
||||
{
|
||||
KmtStartSeh()
|
||||
RtlCompareMemory(BaseAddress, TestString, TestStringSize);
|
||||
|
||||
Reference in New Issue
Block a user