From bc863a815938c8b8bdf0ae46010372f45bdf3bf6 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 26 Oct 2009 15:15:36 +0000 Subject: [PATCH] Add PRIxModes_Control, PRIxrtems_mode. Use PRIxrtems_mode to print rtems_mode's. --- testsuites/sptests/sp08/system.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */