diff options
Diffstat (limited to 'testsuites/libtests/stackchk/task1.c')
-rw-r--r-- | testsuites/libtests/stackchk/task1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/libtests/stackchk/task1.c b/testsuites/libtests/stackchk/task1.c index 632b539ea4..69114389a9 100644 --- a/testsuites/libtests/stackchk/task1.c +++ b/testsuites/libtests/stackchk/task1.c @@ -3,7 +3,7 @@ * This set of three tasks do some simple task switching for about * 15 seconds and then call a routine to "blow the stack". * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -37,7 +37,8 @@ rtems_task Task_1_through_3( put_name( Task_name[ task_number( tid ) ], FALSE ); print_time( " - rtems_clock_get_tod - ", &time, "\n" ); - status = rtems_task_wake_after( task_number( tid ) * 5 * TICKS_PER_SECOND ); + status = rtems_task_wake_after( + task_number( tid ) * 5 * rtems_clock_get_ticks_per_second() ); directive_failed( status, "rtems_task_wake_after" ); } } |