summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 15:15:36 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 15:15:36 +0000
commitbc863a815938c8b8bdf0ae46010372f45bdf3bf6 (patch)
treed8f5c235ebe48e32bbccb0ce23b2271c9eb1bee0 /testsuites/sptests
parent2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-bc863a815938c8b8bdf0ae46010372f45bdf3bf6.tar.bz2
Add PRIxModes_Control, PRIxrtems_mode.
Use PRIxrtems_mode to print rtems_mode's.
Diffstat (limited to 'testsuites/sptests')
-rw-r--r--testsuites/sptests/sp08/system.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/sptests/sp08/system.h b/testsuites/sptests/sp08/system.h
index b14e123528..e4f3122d55 100644
--- a/testsuites/sptests/sp08/system.h
+++ b/testsuites/sptests/sp08/system.h
@@ -25,8 +25,11 @@ rtems_task Task_1(
rtems_task_argument argument
);
+#define PRIxModes_Control PRIx32
+#define PRIxrtems_mode PRIxModes_Control
+
#define put_mode( _comment, _output_mode ) \
- printf( "%s %08x\n", _comment, _output_mode );
+ printf( "%s %08" PRIxrtems_mode "\n", _comment, _output_mode );
/* configuration information */