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/sp45/init.c | |
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/sp45/init.c')
-rw-r--r-- | testsuites/sptests/sp45/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp45/init.c b/testsuites/sptests/sp45/init.c index 0fbc879011..576c1f7532 100644 --- a/testsuites/sptests/sp45/init.c +++ b/testsuites/sptests/sp45/init.c @@ -69,12 +69,12 @@ rtems_task Init( puts( "INIT - rtems_timer_create - creating timer 1" ); 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 ] ); puts( "INIT - rtems_timer_create - creating timer 2" ); status = rtems_timer_create( Timer_name[ 2 ], &Timer_id[ 2 ] ); directive_failed( status, "rtems_timer_create" ); - printf( "INIT - timer 2 has id (0x%x)\n", Timer_id[ 2 ] ); + printf( "INIT - timer 2 has id (0x%" PRIxrtems_id ")\n", Timer_id[ 2 ] ); /* * Schedule malloc TSR for 1 second from now |