[ntoskrnl]
[reactos.git] / reactos / ntoskrnl / ps / kill.c
index f9337bd..b1ea95f 100644 (file)
@@ -596,7 +596,8 @@ PspExitThread(IN NTSTATUS ExitStatus)
     if (TerminationPort)
     {
         /* Setup the message header */
-        TerminationMsg.h.u2.ZeroInit = LPC_CLIENT_DIED;
+        TerminationMsg.h.u2.ZeroInit = 0;
+        TerminationMsg.h.u2.s2.Type = LPC_CLIENT_DIED;
         TerminationMsg.h.u1.s1.TotalLength = sizeof(TerminationMsg);
         TerminationMsg.h.u1.s1.DataLength = sizeof(TerminationMsg) -
                                             sizeof(PORT_MESSAGE);