summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-30 13:15:57 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-30 13:15:57 +0000
commite0f5e98136ce3df0b2b4200ec26fb62144a45448 (patch)
tree8928a48a3036e0ba2bf79384374853f2426920cd /testsuites/mptests
parent2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-e0f5e98136ce3df0b2b4200ec26fb62144a45448.tar.bz2
Include "tmacros.h".
Use PRIxrtems_task_priority to print rtems_task_prioritys. Use PRI*32 to print uint32_ts.
Diffstat (limited to 'testsuites/mptests')
-rw-r--r--testsuites/mptests/mp04/task1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/mptests/mp04/task1.c b/testsuites/mptests/mp04/task1.c
index 78b3952666..f386d66db5 100644
--- a/testsuites/mptests/mp04/task1.c
+++ b/testsuites/mptests/mp04/task1.c
@@ -18,6 +18,7 @@
*/
#include "system.h"
+#include "tmacros.h"
extern rtems_multiprocessing_table Multiprocessing_configuration;
@@ -59,7 +60,7 @@ rtems_task Test_task(
if ( previous_priority != remote_node ) {
printf(
- "Remote priority (0x%x) does not match remote node (0x%x)!!!\n",
+ "Remote priority (0x%" PRIxrtems_task_priority ") does not match remote node (0x%" PRIx32 ")!!!\n",
previous_priority,
remote_node
);