From c7e5f8e26ff8d4ebd72bf38b93af7c8f74000a0d Mon Sep 17 00:00:00 2001 From: Gregor Schneider Date: Sat, 12 Dec 2009 12:32:09 +0000 Subject: [PATCH] [ntoskrnl] - The field ZeroInit should be initialized to zero - do that by assigning the message type directly - Fixes the hanging ntdll port winetest (it didn't get a CLIENT_DIED notification because the call to LpcRequestPort failed) svn path=/trunk/; revision=44543 --- reactos/ntoskrnl/ps/kill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/ps/kill.c b/reactos/ntoskrnl/ps/kill.c index 31de3a1d738..f9337bdece7 100644 --- a/reactos/ntoskrnl/ps/kill.c +++ b/reactos/ntoskrnl/ps/kill.c @@ -596,7 +596,7 @@ PspExitThread(IN NTSTATUS ExitStatus) if (TerminationPort) { /* Setup the message header */ - TerminationMsg.h.u2.s2.Type = LPC_CLIENT_DIED; + TerminationMsg.h.u2.ZeroInit = LPC_CLIENT_DIED; TerminationMsg.h.u1.s1.TotalLength = sizeof(TerminationMsg); TerminationMsg.h.u1.s1.DataLength = sizeof(TerminationMsg) - sizeof(PORT_MESSAGE);