https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a4859bf283ee77865e353f3bb3f7a94f4048e42c

commit a4859bf283ee77865e353f3bb3f7a94f4048e42c
Author:     Serge Gautherie <reactos-git_serge_171...@gautherie.fr>
AuthorDate: Sat Nov 3 14:57:24 2018 +0100
Commit:     Jérôme Gardou <zefk...@users.noreply.github.com>
CommitDate: Sat Nov 3 16:36:24 2018 +0100

    [KMTESTS:MM] Fix 'PAGE_NOACCESS' copypasta, in an error string
    
    ROSTESTS-110
---
 modules/rostests/kmtests/ntos_mm/ZwMapViewOfSection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/rostests/kmtests/ntos_mm/ZwMapViewOfSection.c 
b/modules/rostests/kmtests/ntos_mm/ZwMapViewOfSection.c
index aa8e145954..73bc8f0c02 100644
--- a/modules/rostests/kmtests/ntos_mm/ZwMapViewOfSection.c
+++ b/modules/rostests/kmtests/ntos_mm/ZwMapViewOfSection.c
@@ -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);

Reply via email to