- Also fix misguided return type aka fix build

svn path=/trunk/; revision=60741
This commit is contained in:
Thomas Faber 2013-10-24 18:05:58 +00:00
parent 8b7398acf8
commit 5e7db1ef90

View file

@ -297,13 +297,16 @@ MiDbgDumpAddressSpace(VOID)
"Non Paged Pool Expansion PTE Space");
}
NTSTATUS NTAPI
MmMpwThreadMain(PVOID Ignored)
VOID
NTAPI
MmMpwThreadMain(PVOID Parameter)
{
NTSTATUS Status;
ULONG PagesWritten;
LARGE_INTEGER Timeout;
UNREFERENCED_PARAMETER(Parameter);
Timeout.QuadPart = -50000000;
for(;;)
@ -317,7 +320,7 @@ MmMpwThreadMain(PVOID Ignored)
{
DbgPrint("MpwThread: Wait failed\n");
KeBugCheck(MEMORY_MANAGEMENT);
return(STATUS_UNSUCCESSFUL);
return;
}
PagesWritten = 0;