diff options
Diffstat (limited to 'testsuites/samples/base_sp')
-rw-r--r-- | testsuites/samples/base_sp/apptask.c | 4 |
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 ); |