summaryrefslogtreecommitdiffstats
path: root/tools/schedsim/rtems/interr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/schedsim/rtems/interr.c')
-rw-r--r--tools/schedsim/rtems/interr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/schedsim/rtems/interr.c b/tools/schedsim/rtems/interr.c
index b708f41df6..526dbe033c 100644
--- a/tools/schedsim/rtems/interr.c
+++ b/tools/schedsim/rtems/interr.c
@@ -22,9 +22,6 @@
#include <rtems/score/sysstate.h>
#include <rtems/score/userext.h>
-#include <stdlib.h>
-#include <stdio.h>
-
/*PAGE
*
* _Internal_error_Occurred
@@ -63,8 +60,7 @@ void _Internal_error_Occurred(
_System_state_Set( SYSTEM_STATE_FAILED );
- fprintf( stderr, "FATAL ERROR!!\n" );
- exit( -1 );
+ _CPU_Fatal_halt( the_error );
/* will not return from this routine */
while (true);