mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
[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
This commit is contained in:
parent
0cc971dfd5
commit
c7e5f8e26f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue