diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-10 14:50:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-10 14:50:24 +0000 |
commit | cd49fdcdcb5585da33707c205d9fd747a408e622 (patch) | |
tree | 8b7f9fd7d3485f7cab7ab4f25e0c08f9b669a313 /testsuites/libtests/malloctest/task1.c | |
parent | 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-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 '')
-rw-r--r-- | testsuites/libtests/malloctest/task1.c | 6 |
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))) { |