diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-10 16:04:41 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-08-10 16:04:41 +0000 |
commit | 05b9f81761c5a301ba8c3218a7465bceb12ee635 (patch) | |
tree | f95b4a7f20b3e52b1e67be46a4c154a4c06b0b6c /testsuites/sptests/sp09/screen04.c | |
parent | 2009-08-10 Roxana Leontie <roxana.leontie@gmail.com> (diff) | |
download | rtems-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.c | 6 |
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) ); |