summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/malloctest/task1.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/malloctest/task1.c')
-rw-r--r--testsuites/libtests/malloctest/task1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/libtests/malloctest/task1.c b/testsuites/libtests/malloctest/task1.c
index 8568710ba5..8da497a671 100644
--- a/testsuites/libtests/malloctest/task1.c
+++ b/testsuites/libtests/malloctest/task1.c
@@ -42,11 +42,11 @@ rtems_task Task_1_through_5(
rtems_test_exit(0);
}
- status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
- directive_failed( status, "rtems_clock_get" );
+ status = rtems_clock_get_tod( &time );
+ directive_failed( status, "rtems_clock_get_tod" );
put_name( Task_name[ task_number( tid ) ], FALSE );
- print_time( " - rtems_clock_get - ", &time, "\n" );
+ print_time( " - rtems_clock_get_tod - ", &time, "\n" );
mem_amt = ((int)((float)rand()*1000.0/(float)RAND_MAX));
while (!(mem_ptr = malloc ( mem_amt))) {