[KMTESTS:MM] Fix 'PAGE_NOACCESS' copypasta, in an error string
authorSerge Gautherie <reactos-git_serge_171003@gautherie.fr>
Sat, 3 Nov 2018 13:57:24 +0000 (14:57 +0100)
committerJérôme Gardou <zefklop@users.noreply.github.com>
Sat, 3 Nov 2018 15:36:24 +0000 (16:36 +0100)
ROSTESTS-110

modules/rostests/kmtests/ntos_mm/ZwMapViewOfSection.c

index aa8e145..73bc8f0 100644 (file)
@@ -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);