diff --git a/reactos/lib/fast486/common.inl b/reactos/lib/fast486/common.inl index b7a7f57239d..31e80ccdc38 100644 --- a/reactos/lib/fast486/common.inl +++ b/reactos/lib/fast486/common.inl @@ -625,7 +625,7 @@ Fast486LoadSegmentInternal(PFAST486_STATE State, if (!GdtEntry.Present) { - Fast486ExceptionWithErrorCode(State, Exception, Selector); + Fast486ExceptionWithErrorCode(State, FAST486_EXCEPTION_NP, Selector); return FALSE; } @@ -679,7 +679,7 @@ Fast486LoadSegmentInternal(PFAST486_STATE State, if (!GdtEntry.Present) { - Fast486ExceptionWithErrorCode(State, Exception, Selector); + Fast486ExceptionWithErrorCode(State, FAST486_EXCEPTION_NP, Selector); return FALSE; } }