summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests/mp02
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-30 13:18:33 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-30 13:18:33 +0000
commit58397d88e0dfece0f21812124168e889d6e2515d (patch)
tree2e5418fea5b3145cceae9e10b13cab705bbaae50 /testsuites/mptests/mp02
parent2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-58397d88e0dfece0f21812124168e889d6e2515d.tar.bz2
Use PRI*32 to print uint32_ts.
Diffstat (limited to 'testsuites/mptests/mp02')
-rw-r--r--testsuites/mptests/mp02/init.c2
-rw-r--r--testsuites/mptests/mp02/task1.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/mptests/mp02/init.c b/testsuites/mptests/mp02/init.c
index b60fd90826..df76a244ac 100644
--- a/testsuites/mptests/mp02/init.c
+++ b/testsuites/mptests/mp02/init.c
@@ -31,7 +31,7 @@ rtems_task Init(
rtems_status_code status;
printf(
- "\n\n*** TEST 2 -- NODE %d ***\n",
+ "\n\n*** TEST 2 -- NODE %" PRIu32 " ***\n",
Multiprocessing_configuration.node
);
diff --git a/testsuites/mptests/mp02/task1.c b/testsuites/mptests/mp02/task1.c
index 920a0d585a..e98c8b8717 100644
--- a/testsuites/mptests/mp02/task1.c
+++ b/testsuites/mptests/mp02/task1.c
@@ -86,7 +86,7 @@ rtems_task Test_task(
puts( "rtems_task_restart of remote task returned the correct error" );
tmpNode = rtems_object_id_get_node(tid);
- printf( "Setting notepad %d of the remote task to %d\n", tmpNode, tmpNode );
+ printf( "Setting notepad %" PRId32 " of the remote task to %" PRId32 "\n", tmpNode, tmpNode );
status = rtems_task_set_note( remote_tid, tmpNode, tmpNode );
directive_failed( status, "rtems_task_set_note" );
@@ -98,7 +98,7 @@ rtems_task Test_task(
puts( "Remote notepad set and read correctly" );
else
printf(
- "FAILURE!! Remote notepad was not set and read correctly (%d, %d)\n",
+ "FAILURE!! Remote notepad was not set and read correctly (%" PRId32 ", %" PRId32 ")\n",
note,
tmpNode
);