Major refactoring of the exception handling code + misc fixes:
[reactos.git] / reactos / ntoskrnl / ke / i386 / thread.c
index d04533e..2e69149 100644 (file)
@@ -85,7 +85,7 @@ Ke386InitThreadWithContext(PKTHREAD Thread,
         TrapFrame = &InitFrame->TrapFrame;
 
         /* Set up a trap frame from the context. */
-        if (KeContextToTrapFrame(Context, TrapFrame))
+        if (KeContextToTrapFrame(Context, NULL, TrapFrame))
         {
             Thread->NpxState = NPX_STATE_VALID;
         }