diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-09-30 02:50:48 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-09-30 02:50:48 +0000 |
commit | f57f5ce2f8c1aa377e7191639a3d51c400d80c45 (patch) | |
tree | 58b98070f3535ea4adc0495fcf804957179bad4f /testsuites/sptests/sp50 | |
parent | 2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-f57f5ce2f8c1aa377e7191639a3d51c400d80c45.tar.bz2 |
2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp50/init.c, spclockget/init.c: Include "pritime.h".
Use PRIdtime_t to print time_t.
Diffstat (limited to 'testsuites/sptests/sp50')
-rw-r--r-- | testsuites/sptests/sp50/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/sptests/sp50/init.c b/testsuites/sptests/sp50/init.c index 2eb5599dc0..67b199a7bd 100644 --- a/testsuites/sptests/sp50/init.c +++ b/testsuites/sptests/sp50/init.c @@ -14,6 +14,7 @@ #endif #include <tmacros.h> +#include "pritime.h" volatile int Fired; volatile bool timerRan; @@ -70,7 +71,7 @@ rtems_task Init( sc = rtems_clock_get_uptime( &uptime ); directive_failed( sc, "rtems_clock_get_uptime" ); - printf( "Timer fired at %" PRItime_t "\n", uptime.tv_sec ); + printf( "Timer fired at %" PRIdtime_t "\n", uptime.tv_sec ); } if ( Fired >= 10 ) { |