summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spwatchdog
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/spwatchdog
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/spwatchdog')
-rw-r--r--testsuites/sptests/spwatchdog/init.c2
-rw-r--r--testsuites/sptests/spwatchdog/task1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spwatchdog/init.c b/testsuites/sptests/spwatchdog/init.c
index 192264859d..3129aff6e9 100644
--- a/testsuites/sptests/spwatchdog/init.c
+++ b/testsuites/sptests/spwatchdog/init.c
@@ -59,7 +59,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/spwatchdog/task1.c b/testsuites/sptests/spwatchdog/task1.c
index f770507dd9..a60e73a65b 100644
--- a/testsuites/sptests/spwatchdog/task1.c
+++ b/testsuites/sptests/spwatchdog/task1.c
@@ -31,7 +31,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 */