diff options
Diffstat (limited to 'cpukit/score/src/threadsetstate.c')
-rw-r--r-- | cpukit/score/src/threadsetstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadsetstate.c b/cpukit/score/src/threadsetstate.c index a8cd38efc7..97da2bf197 100644 --- a/cpukit/score/src/threadsetstate.c +++ b/cpukit/score/src/threadsetstate.c @@ -39,7 +39,7 @@ void _Thread_Set_state( if ( _States_Is_ready( current_state ) ) { the_thread->current_state = state; - _Scheduler_Block( the_thread ); + _Scheduler_Block( _Scheduler_Get( the_thread ), the_thread ); } else { the_thread->current_state = _States_Set( state, current_state); } |