summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 17:13:09 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 17:13:09 +0000
commitc784b7fe726389325ac662d56661e241876fa2e0 (patch)
tree5f36dcc52af1be955ab96f6565cae1abb81f7e57 /testsuites/sptests
parent2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-c784b7fe726389325ac662d56661e241876fa2e0.tar.bz2
Use PRIdWatchdog_Interval to print Watchdog_Interval's.
Diffstat (limited to 'testsuites/sptests')
-rw-r--r--testsuites/sptests/sp31/task1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuites/sptests/sp31/task1.c b/testsuites/sptests/sp31/task1.c
index 73f0222cc5..03021d3ce0 100644
--- a/testsuites/sptests/sp31/task1.c
+++ b/testsuites/sptests/sp31/task1.c
@@ -102,9 +102,9 @@ rtems_task Task_1(
directive_failed( status, "rtems_timer_server_fire_after" );
status = rtems_timer_get_information( tmid, &info );
- printf( "Timer 1 scheduled for %d ticks since boot\n",
+ printf( "Timer 1 scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
info.start_time + info.initial );
- printf( "Timer Server scheduled for %d ticks since boot\n",
+ printf( "Timer Server scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
_Timer_Server->Timer.initial + _Timer_Server->Timer.start_time );
puts( "TA1 - rtems_task_wake_after - 1 second" );
@@ -118,9 +118,9 @@ rtems_task Task_1(
status = rtems_timer_get_information( tmid, &info );
directive_failed( status, "rtems_timer_get_information" );
- printf( "Timer 1 scheduled for %d ticks since boot\n",
+ printf( "Timer 1 scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
info.start_time + info.initial );
- printf( "Timer Server scheduled for %d ticks since boot\n",
+ printf( "Timer Server scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
_Timer_Server->Timer.initial + _Timer_Server->Timer.start_time );
assert( (info.start_time + info.initial) ==
(_Timer_Server->Timer.initial + _Timer_Server->Timer.start_time) );
@@ -136,9 +136,9 @@ rtems_task Task_1(
status = rtems_timer_get_information( tmid, &info );
directive_failed( status, "rtems_timer_get_information" );
- printf( "Timer 1 scheduled for %d ticks since boot\n",
+ printf( "Timer 1 scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
info.start_time + info.initial );
- printf( "Timer Server scheduled for %d ticks since boot\n",
+ printf( "Timer Server scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
_Timer_Server->Timer.initial + _Timer_Server->Timer.start_time );
assert( (info.start_time + info.initial) ==
(_Timer_Server->Timer.initial + _Timer_Server->Timer.start_time) );