summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp31/task1.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 11:29:24 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 11:29:24 +0000
commitfde1456d5db1923966ac78b04eda4cd30b9f5704 (patch)
treeb801b044eb4aa44758c66b5cf2f98f8aa3421361 /testsuites/sptests/sp31/task1.c
parent2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-fde1456d5db1923966ac78b04eda4cd30b9f5704.tar.bz2
Use PRIxrtems_id to print rtems_ids.
Diffstat (limited to 'testsuites/sptests/sp31/task1.c')
-rw-r--r--testsuites/sptests/sp31/task1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp31/task1.c b/testsuites/sptests/sp31/task1.c
index 7fde2ce4c9..73f0222cc5 100644
--- a/testsuites/sptests/sp31/task1.c
+++ b/testsuites/sptests/sp31/task1.c
@@ -50,12 +50,12 @@ rtems_task Task_1(
puts( "TA1 - rtems_timer_ident - identing timer 1" );
status = rtems_timer_ident( Timer_name[ 1 ], &tmid );
directive_failed( status, "rtems_timer_ident" );
- printf( "TA1 - timer 1 has id (0x%x)\n", tmid );
+ printf( "TA1 - timer 1 has id (0x%" PRIxrtems_id ")\n", tmid );
puts( "TA1 - rtems_timer_ident - identing timer 2" );
status = rtems_timer_ident( Timer_name[ 2 ], &tmid2 );
directive_failed( status, "rtems_timer_ident" );
- printf( "TA1 - timer 2 has id (0x%x)\n", tmid2 );
+ printf( "TA1 - timer 2 has id (0x%" PRIxrtems_id ")\n", tmid2 );
/* make sure insertion does not unintentionally fire a timer per PR147 */