From 732276e95d1a92e7d4524b27c1486f4c2685ff8e Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 26 Oct 2009 11:34:27 +0000 Subject: Include "tmacros.h". Use PRIxrtems_id to print rtems_ids. --- testsuites/samples/base_sp/apptask.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testsuites/samples/base_sp') 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 #include @@ -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 ); -- cgit v1.2.3