From d36b97a1dcbc4da39d638fa414bd5e9b8449d096 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sun, 20 Nov 2016 20:55:17 +0000 Subject: [PATCH] [NTOSKRNL] When we're really not able to init cache for creating a file section, return the appropriate status code svn path=/trunk/; revision=73327 --- reactos/ntoskrnl/mm/section.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index d50630d390a..7fc8c485395 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -3039,7 +3039,7 @@ MmCreateDataFileSection(PROS_SECTION_OBJECT *SectionObject, /* FIXME: handle this situation */ ObDereferenceObject(Section); ObDereferenceObject(FileObject); - return STATUS_INVALID_PARAMETER; + return STATUS_INVALID_FILE_FOR_SECTION; } }