summaryrefslogtreecommitdiffstats
path: root/testsuites/itrontests/itrontask02/dormant.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/itrontests/itrontask02/dormant.c')
-rw-r--r--testsuites/itrontests/itrontask02/dormant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/itrontests/itrontask02/dormant.c b/testsuites/itrontests/itrontask02/dormant.c
index 4dcb55261f..f6c2bf0e13 100644
--- a/testsuites/itrontests/itrontask02/dormant.c
+++ b/testsuites/itrontests/itrontask02/dormant.c
@@ -8,7 +8,7 @@
*
* Output parameters: NONE
*
- * 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,7 @@ void Non_Dormant_task()
while (TRUE) {
puts( "NON-DORMANT - Sleep for 2 minutes" );
- status = rtems_task_wake_after( 120*TICKS_PER_SECOND );
+ status = rtems_task_wake_after( 120*rtems_clock_get_ticks_per_second() );
directive_failed( status, "rtems_task_wake_after" );
}
}