diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-05-05 16:45:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-05-05 16:45:40 +0000 |
commit | 7c1e69429a28adf03216c755bc1b4504c6e735b2 (patch) | |
tree | 891479b5bad29f5dc64d0a430f768d7514ecbec5 /testsuites/samples/nsecs | |
parent | 2011-05-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-7c1e69429a28adf03216c755bc1b4504c6e735b2.tar.bz2 |
2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* base_sp/apptask.c, base_sp/init.c, fileio/init.c, fileio/system.h,
nsecs/init.c, ticker/init.c, ticker/system.h, ticker/tasks.c: Remove
warnings.
Diffstat (limited to 'testsuites/samples/nsecs')
-rw-r--r-- | testsuites/samples/nsecs/init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/samples/nsecs/init.c b/testsuites/samples/nsecs/init.c index 35b96d8a7b..08ac91f635 100644 --- a/testsuites/samples/nsecs/init.c +++ b/testsuites/samples/nsecs/init.c @@ -2,7 +2,7 @@ * Nanoseconds accuracy timestamp test */ -/* COPYRIGHT (c) 1989-2007. +/* COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -69,6 +69,7 @@ rtems_task Init( time.ticks = 0; status = rtems_clock_set( &time ); + directive_failed( status, "clock set" ); /* * Iterate 10 times showing difference in TOD @@ -91,7 +92,7 @@ rtems_task Init( my_ctime(stop.tv_sec), stop.tv_nsec ); - printf( " --> %" PRItime_t ":%ld\n", diff.tv_sec, diff.tv_nsec ); + printf( " --> %" PRItime_t ":%ld\n", diff.tv_sec, diff.tv_nsec ); } /* |