summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp24/task1.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp24/task1.c')
-rw-r--r--testsuites/sptests/sp24/task1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/sptests/sp24/task1.c b/testsuites/sptests/sp24/task1.c
index 9d4e0cdc34..efeb862410 100644
--- a/testsuites/sptests/sp24/task1.c
+++ b/testsuites/sptests/sp24/task1.c
@@ -40,8 +40,8 @@ rtems_task Task_1_through_3(
);
directive_failed( status, "tm_fire_after failed" );
- status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
- directive_failed( status, "rtems_clock_get failed" );
+ status = rtems_clock_get_tod( &time );
+ directive_failed( status, "rtems_clock_get_tod failed" );
if ( time.second >= 35 ) {
puts( "*** END OF TEST 24 ***" );
@@ -49,7 +49,7 @@ rtems_task Task_1_through_3(
}
put_name( Task_name[ task_number( tid ) ], FALSE );
- print_time( " - rtems_clock_get - ", &time, "\n" );
+ print_time( " - rtems_clock_get_tod - ", &time, "\n" );
status = rtems_task_suspend( RTEMS_SELF );
directive_failed( status, "rtems_task_suspend" );