summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp24/resume.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp24/resume.c')
-rw-r--r--testsuites/sptests/sp24/resume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp24/resume.c b/testsuites/sptests/sp24/resume.c
index 5e85d9c5d8..715390e16c 100644
--- a/testsuites/sptests/sp24/resume.c
+++ b/testsuites/sptests/sp24/resume.c
@@ -7,7 +7,7 @@
*
* Output parameters: NONE
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -27,7 +27,7 @@ rtems_timer_service_routine Resume_task(
rtems_id task_to_resume;
rtems_status_code status;
- task_to_resume = Task_id[ rtems_get_index( timer_id ) ];
+ task_to_resume = Task_id[ rtems_object_id_get_index( timer_id ) ];
status = rtems_task_resume( task_to_resume );
directive_failed_with_level( status, "rtems_task_resume", 1 );
}