summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/base_sp
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 11:34:27 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-26 11:34:27 +0000
commit732276e95d1a92e7d4524b27c1486f4c2685ff8e (patch)
tree80545b38a2f62589a8826feb69536a349bd22650 /testsuites/samples/base_sp
parent2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-732276e95d1a92e7d4524b27c1486f4c2685ff8e.tar.bz2
Include "tmacros.h". Use PRIxrtems_id to print rtems_ids.
Diffstat (limited to 'testsuites/samples/base_sp')
-rw-r--r--testsuites/samples/base_sp/apptask.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/samples/base_sp/apptask.c b/testsuites/samples/base_sp/apptask.c
index c3f9cc5571..9604cc1020 100644
--- a/testsuites/samples/base_sp/apptask.c
+++ b/testsuites/samples/base_sp/apptask.c
@@ -19,6 +19,8 @@
*/
#include "system.h"
+#include "tmacros.h"
+
#include <stdio.h>
#include <stdlib.h>
@@ -32,7 +34,7 @@ rtems_task Application_task(
status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
printf( "Application task was invoked with argument (%d) "
- "and has id of 0x%x\n", argument, tid );
+ "and has id of 0x%" PRIxrtems_id "\n", argument, tid );
printf( "*** END OF SAMPLE SINGLE PROCESSOR APPLICATION ***\n" );
exit( 0 );