summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/malloctest/task1.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-10 14:50:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-10 14:50:24 +0000
commitcd49fdcdcb5585da33707c205d9fd747a408e622 (patch)
tree8b7f9fd7d3485f7cab7ab4f25e0c08f9b669a313 /testsuites/libtests/malloctest/task1.c
parent2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-cd49fdcdcb5585da33707c205d9fd747a408e622.tar.bz2
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpuuse/task1.c, cpuuse/tswitch.c, malloctest/task1.c, stackchk/task1.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
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))) {