diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 15:15:36 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 15:15:36 +0000 |
commit | bc863a815938c8b8bdf0ae46010372f45bdf3bf6 (patch) | |
tree | d8f5c235ebe48e32bbccb0ce23b2271c9eb1bee0 /testsuites/sptests | |
parent | 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-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.h | 5 |
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 */ |