From 52c5ac7be7718781f53c505095db9c366e1dc997 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 14 Jan 2010 09:53:02 +0000 Subject: [PATCH] Fix merge artifacts svn path=/branches/ros-amd64-bringup/; revision=45078 --- reactos/ntoskrnl/ex/init.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reactos/ntoskrnl/ex/init.c b/reactos/ntoskrnl/ex/init.c index f1feaad1a7f..d2794a4b52f 100644 --- a/reactos/ntoskrnl/ex/init.c +++ b/reactos/ntoskrnl/ex/init.c @@ -1726,7 +1726,7 @@ Phase1InitializationDiscard(IN PVOID Context) KeyValuePartialInformation, &KeyPartialInfo, sizeof(KeyPartialInfo), - &Size); + &Length); if (!NT_SUCCESS(Status)) AlternateShell = FALSE; } @@ -1878,17 +1878,17 @@ Phase1InitializationDiscard(IN PVOID Context) ZwClose(ProcessInfo->ProcessHandle); /* Free the initial process environment */ - Length = 0; + Size = 0; ZwFreeVirtualMemory(NtCurrentProcess(), (PVOID*)&Environment, - &Length, + &Size, MEM_RELEASE); /* Free the initial process parameters */ - Length = 0; + Size = 0; ZwFreeVirtualMemory(NtCurrentProcess(), (PVOID*)&ProcessParameters, - &Length, + &Size, MEM_RELEASE); /* Increase init phase */