summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp20
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/sp20
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/sp20')
-rw-r--r--testsuites/sptests/sp20/task1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/sptests/sp20/task1.c b/testsuites/sptests/sp20/task1.c
index 236fac1bd0..431c72f2b5 100644
--- a/testsuites/sptests/sp20/task1.c
+++ b/testsuites/sptests/sp20/task1.c
@@ -44,20 +44,20 @@ rtems_task Task_1_through_6(
status = rtems_rate_monotonic_create( argument, &rmid );
directive_failed( status, "rtems_rate_monotonic_create" );
put_name( Task_name[ argument ], FALSE );
- printf( "- rtems_rate_monotonic_create id = 0x%08x\n", rmid );
+ printf( "- rtems_rate_monotonic_create id = 0x%08" PRIxrtems_id "\n", rmid );
status = rtems_rate_monotonic_ident( argument, &test_rmid );
directive_failed( status, "rtems_rate_monotonic_ident" );
put_name( Task_name[ argument ], FALSE );
- printf( "- rtems_rate_monotonic_ident id = 0x%08x\n", test_rmid );
+ printf( "- rtems_rate_monotonic_ident id = 0x%08" PRIxrtems_id "\n", test_rmid );
if ( rmid != test_rmid ) {
- printf( "RMID's DO NOT MATCH (0x%x and 0x%x)\n", rmid, test_rmid );
+ printf( "RMID's DO NOT MATCH (0x%" PRIxrtems_id " and 0x%" PRIxrtems_id ")\n", rmid, test_rmid );
rtems_test_exit( 0 );
}
put_name( Task_name[ argument ], FALSE );
- printf( "- (0x%08x) period %d\n", rmid, Periods[ argument ] );
+ printf( "- (0x%08" PRIxrtems_id ") period %d\n", rmid, Periods[ argument ] );
status = rtems_task_wake_after( 2 );
directive_failed( status, "rtems_task_wake_after" );