diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 11:29:24 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 11:29:24 +0000 |
commit | fde1456d5db1923966ac78b04eda4cd30b9f5704 (patch) | |
tree | b801b044eb4aa44758c66b5cf2f98f8aa3421361 /testsuites/sptests/sp22 | |
parent | 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-fde1456d5db1923966ac78b04eda4cd30b9f5704.tar.bz2 |
Use PRIxrtems_id to print rtems_ids.
Diffstat (limited to 'testsuites/sptests/sp22')
-rw-r--r-- | testsuites/sptests/sp22/init.c | 2 | ||||
-rw-r--r-- | testsuites/sptests/sp22/task1.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp22/init.c b/testsuites/sptests/sp22/init.c index 987b5671b3..6a3068bf1e 100644 --- a/testsuites/sptests/sp22/init.c +++ b/testsuites/sptests/sp22/init.c @@ -58,7 +58,7 @@ rtems_task Init( status = rtems_timer_create( Timer_name[ 1 ], &Timer_id[ 1 ] ); directive_failed( status, "rtems_timer_create" ); - printf( "INIT - timer 1 has id (0x%x)\n", Timer_id[ 1 ] ); + printf( "INIT - timer 1 has id (0x%" PRIxrtems_id ")\n", Timer_id[ 1 ] ); status = rtems_task_delete( RTEMS_SELF ); directive_failed( status, "rtems_task_delete of RTEMS_SELF" ); diff --git a/testsuites/sptests/sp22/task1.c b/testsuites/sptests/sp22/task1.c index 930a2b6001..5f8fbb1dca 100644 --- a/testsuites/sptests/sp22/task1.c +++ b/testsuites/sptests/sp22/task1.c @@ -33,7 +33,7 @@ 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 ); /* after which is allowed to fire */ |