X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fntoskrnl%2Fex%2Fharderr.c;h=6166289d21c9a7160f75c349b4afcf1c2fa2db3b;hp=266fefc55e8c714106a353fd987976f5aed3e8e3;hb=b8d2bb2058bbcab561af90a808305673031a97a8;hpb=6b2612bba28f0a9559af5b93be3f4ec7f61bc516 diff --git a/reactos/ntoskrnl/ex/harderr.c b/reactos/ntoskrnl/ex/harderr.c index 266fefc55e8..6166289d21c 100644 --- a/reactos/ntoskrnl/ex/harderr.c +++ b/reactos/ntoskrnl/ex/harderr.c @@ -234,7 +234,8 @@ ExpRaiseHardError(IN NTSTATUS ErrorStatus, /* Setup the LPC Message */ Message->h.u1.Length = (sizeof(HARDERROR_MSG) << 16) | (sizeof(HARDERROR_MSG) - sizeof(PORT_MESSAGE)); - Message->h.u2.ZeroInit = LPC_ERROR_EVENT; + Message->h.u2.ZeroInit = 0; + Message->h.u2.s2.Type = LPC_ERROR_EVENT; Message->Status = ErrorStatus &~ 0x10000000; Message->ValidResponseOptions = ValidResponseOptions; Message->UnicodeStringParameterMask = UnicodeStringParameterMask;