summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp05/task2.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp05/task2.c')
-rw-r--r--testsuites/sptests/sp05/task2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp05/task2.c b/testsuites/sptests/sp05/task2.c
index 13d17602e6..aa1fa6af74 100644
--- a/testsuites/sptests/sp05/task2.c
+++ b/testsuites/sptests/sp05/task2.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
@@ -32,7 +32,7 @@ rtems_task Task_2(
while( FOREVER ) {
puts( "TA2 - rtems_task_wake_after - sleep 1 second" );
- status = rtems_task_wake_after( 1*TICKS_PER_SECOND );
+ status = rtems_task_wake_after( rtems_clock_get_ticks_per_second() );
directive_failed( status, "rtems_task_wake_after of TA2" );
}
}