mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[KMTESTS:MM] Fix 'PAGE_NOACCESS' copypasta, in an error string
ROSTESTS-110
This commit is contained in:
parent
5d91d52417
commit
a4859bf283
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,7 @@ BehaviorChecks(HANDLE FileHandleReadOnly, HANDLE FileHandleWriteOnly)
|
||||||
ViewSize = 0;
|
ViewSize = 0;
|
||||||
SectionOffset.QuadPart = 0;
|
SectionOffset.QuadPart = 0;
|
||||||
Status = ZwMapViewOfSection(WriteSectionHandle, NtCurrentProcess(), &BaseAddress, 0, 0, &SectionOffset, &ViewSize, ViewUnmap, 0, PAGE_GUARD | PAGE_READWRITE);
|
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()
|
KmtStartSeh()
|
||||||
RtlCompareMemory(BaseAddress, TestString, TestStringSize);
|
RtlCompareMemory(BaseAddress, TestString, TestStringSize);
|
||||||
|
|
Loading…
Reference in a new issue