summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp02
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/sp02
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/sp02')
-rw-r--r--testsuites/sptests/sp02/task1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp02/task1.c b/testsuites/sptests/sp02/task1.c
index 026cbc0fa0..998fd50141 100644
--- a/testsuites/sptests/sp02/task1.c
+++ b/testsuites/sptests/sp02/task1.c
@@ -36,7 +36,7 @@ rtems_task Task_1(
status = rtems_task_ident( Task_name[ 2 ], RTEMS_SEARCH_ALL_NODES, &tid2 );
directive_failed( status, "rtems_task_ident of TA2" );
- printf( "TA1 - rtems_task_ident - tid of TA2 (0x%.8x)\n", tid2 );
+ printf( "TA1 - rtems_task_ident - tid of TA2 (0x%.8" PRIxrtems_id ")\n", tid2 );
status = rtems_object_get_classic_name( tid2, &tid2_name );
directive_failed( status, "rtems_object_get_classic_name of TA2" );
@@ -46,7 +46,7 @@ rtems_task Task_1(
status = rtems_task_ident( Task_name[ 3 ], RTEMS_SEARCH_ALL_NODES, &tid3 );
directive_failed( status, "rtems_task_ident of TA3" );
- printf( "TA1 - rtems_task_ident - tid of TA3 (0x%.8x)\n", tid3 );
+ printf( "TA1 - rtems_task_ident - tid of TA3 (0x%.8" PRIxrtems_id ")\n", tid3 );
status = rtems_task_set_priority( tid3, 2, &previous_priority );
directive_failed( status, "rtems_task_set_priority" );