summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadrestart.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-08 16:41:30 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-09 08:47:51 +0100
commitb6606e8d9911d1487dbf8338447e7560d09ff48c (patch)
tree0d6ed5ed5e6dcd9284e8ec3e6a6d4c68764aea36 /cpukit/score/src/threadrestart.c
parentcdtest: Print proper begin/end of test messages (diff)
downloadrtems-b6606e8d9911d1487dbf8338447e7560d09ff48c.tar.bz2
score: Remove fatal is internal indicator
The fatal is internal indicator is redundant since the fatal source and error code uniquely identify a fatal error. Keep the fatal user extension is internal parameter for backward compatibility and set it to false always. Update #2825.
Diffstat (limited to 'cpukit/score/src/threadrestart.c')
-rw-r--r--cpukit/score/src/threadrestart.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c
index 54491d86f2..4295bc46c2 100644
--- a/cpukit/score/src/threadrestart.c
+++ b/cpukit/score/src/threadrestart.c
@@ -136,11 +136,7 @@ static void _Thread_Make_zombie( Thread_Control *the_thread )
{
#if defined(RTEMS_SCORE_THREAD_ENABLE_RESOURCE_COUNT)
if ( _Thread_Owns_resources( the_thread ) ) {
- _Terminate(
- INTERNAL_ERROR_CORE,
- false,
- INTERNAL_ERROR_RESOURCE_IN_USE
- );
+ _Terminate( INTERNAL_ERROR_CORE, INTERNAL_ERROR_RESOURCE_IN_USE );
}
#endif