diff options
Diffstat (limited to 'cpukit/rtems/src/taskrestart.c')
-rw-r--r-- | cpukit/rtems/src/taskrestart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/taskrestart.c b/cpukit/rtems/src/taskrestart.c index ad446421f9..0b56ed5b18 100644 --- a/cpukit/rtems/src/taskrestart.c +++ b/cpukit/rtems/src/taskrestart.c @@ -33,7 +33,7 @@ rtems_status_code rtems_task_restart( switch ( location ) { case OBJECTS_LOCAL: - if ( _Thread_Restart( the_thread, NULL, argument ) ) { + if ( _Thread_Restart( the_thread, _Thread_Executing, NULL, argument ) ) { _Objects_Put( &the_thread->Object ); return RTEMS_SUCCESSFUL; } |