summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp09/screen04.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-10 16:04:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-10 16:04:41 +0000
commit05b9f81761c5a301ba8c3218a7465bceb12ee635 (patch)
treef95b4a7f20b3e52b1e67be46a4c154a4c06b0b6c /testsuites/sptests/sp09/screen04.c
parent2009-08-10 Roxana Leontie <roxana.leontie@gmail.com> (diff)
downloadrtems-05b9f81761c5a301ba8c3218a7465bceb12ee635.tar.bz2
2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp04/task1.c, sp09/screen02.c, sp09/screen04.c, sp09/sp09.scn, sp38/init.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
Diffstat (limited to 'testsuites/sptests/sp09/screen04.c')
-rw-r--r--testsuites/sptests/sp09/screen04.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/sptests/sp09/screen04.c b/testsuites/sptests/sp09/screen04.c
index ac9bca0a7e..56c011b4b7 100644
--- a/testsuites/sptests/sp09/screen04.c
+++ b/testsuites/sptests/sp09/screen04.c
@@ -6,7 +6,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
@@ -84,8 +84,8 @@ void Screen4()
directive_failed( status, "rtems_clock_set" );
puts( " - RTEMS_SUCCESSFUL" );
- status = rtems_clock_get( RTEMS_CLOCK_GET_TIME_VALUE, &tv );
- directive_failed( status, "clock_get time value OK" );
+ status = rtems_clock_get_tod_timeval( &tv );
+ directive_failed( status, "clock_get_tod_timeval OK" );
seconds = tv.tv_sec;
printf( "TA1 - current time - %s\n", ctime(&seconds) );