forked from Imagelibrary/rtems
2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* base_sp/apptask.c, base_sp/init.c, fileio/init.c, fileio/system.h, nsecs/init.c, ticker/init.c, ticker/system.h, ticker/tasks.c: Remove warnings.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* Output parameters: NONE
|
||||
*
|
||||
* COPYRIGHT (c) 1989-1999.
|
||||
* COPYRIGHT (c) 1989-2011.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
@@ -36,9 +36,12 @@ rtems_task Application_task(
|
||||
rtems_status_code status;
|
||||
|
||||
status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
|
||||
directive_failed( status, "ident" );
|
||||
|
||||
printf( "Application task was invoked with argument (%" PRIdrtems_task_argument ") "
|
||||
"and has id of 0x%" PRIxrtems_id "\n", argument, tid );
|
||||
printf(
|
||||
"Application task was invoked with argument (%" PRIdrtems_task_argument ") "
|
||||
"and has id of 0x%" PRIxrtems_id "\n", argument, tid
|
||||
);
|
||||
|
||||
printf( "*** END OF SAMPLE SINGLE PROCESSOR APPLICATION ***\n" );
|
||||
exit( 0 );
|
||||
|
||||
Reference in New Issue
Block a user