summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadsettransient.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadsettransient.c')
-rw-r--r--cpukit/score/src/threadsettransient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadsettransient.c b/cpukit/score/src/threadsettransient.c
index c0d31fefe8..ead3c452a3 100644
--- a/cpukit/score/src/threadsettransient.c
+++ b/cpukit/score/src/threadsettransient.c
@@ -36,7 +36,7 @@ void _Thread_Set_transient(
the_thread->current_state = _States_Set( STATES_TRANSIENT, old_state );
if ( _States_Is_ready( old_state ) ) {
- _Scheduler_Extract( the_thread );
+ _Scheduler_Extract( _Scheduler_Get( the_thread ), the_thread );
}
_ISR_Enable( level );