diff options
Diffstat (limited to 'cpukit/rtems/src/taskgetscheduler.c')
-rw-r--r-- | cpukit/rtems/src/taskgetscheduler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/rtems/src/taskgetscheduler.c b/cpukit/rtems/src/taskgetscheduler.c index 711109304d..47895a42e4 100644 --- a/cpukit/rtems/src/taskgetscheduler.c +++ b/cpukit/rtems/src/taskgetscheduler.c @@ -20,7 +20,7 @@ #include <rtems/score/schedulerimpl.h> rtems_status_code rtems_task_get_scheduler( - rtems_id id, + rtems_id task_id, rtems_id *scheduler_id ) { @@ -31,7 +31,7 @@ rtems_status_code rtems_task_get_scheduler( Objects_Locations location; const Scheduler_Control *scheduler; - the_thread = _Thread_Get( id, &location ); + the_thread = _Thread_Get( task_id, &location ); switch ( location ) { case OBJECTS_LOCAL: |