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/sp25 | |
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/sp25')
-rw-r--r-- | testsuites/sptests/sp25/task1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/sptests/sp25/task1.c b/testsuites/sptests/sp25/task1.c index a1f47ba1e4..9483fad47e 100644 --- a/testsuites/sptests/sp25/task1.c +++ b/testsuites/sptests/sp25/task1.c @@ -38,7 +38,7 @@ rtems_task Task_1( /* Obtain the region id */ status = rtems_region_ident(Region_name[ 1 ], ®ion_id); - printf( "TA1 - rtems_region_ident - 0x%08x\n", region_id ); + printf( "TA1 - rtems_region_ident - 0x%08" PRIxrtems_id "\n", region_id ); directive_failed(status, "rtems_region_ident of RN01"); /* Get a 64 byte segment from the region */ @@ -186,7 +186,7 @@ rtems_task Task_1( printf( "TA1 - got segment size of %d\n", segment_size ); /* Get information about the region */ - printf( "TA1 - rtems_region_get_information - 0x%08x\n", region_id ); + printf( "TA1 - rtems_region_get_information - 0x%08" PRIxrtems_id "\n", region_id ); status = rtems_region_get_information(region_id, ®ion_info); directive_failed(status, "rtems_region_get_information of RN01"); printf( @@ -195,7 +195,7 @@ rtems_task Task_1( region_info.Used.number ); - printf( "TA1 - rtems_region_get_free_information - 0x%08x\n", region_id ); + printf( "TA1 - rtems_region_get_free_information - 0x%08" PRIxrtems_id "\n", region_id ); status = rtems_region_get_free_information(region_id, ®ion_info); directive_failed(status, "rtems_region_get_free_information of RN01"); printf( |