summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/base_sp/apptask.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-05 16:45:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-05 16:45:40 +0000
commit7c1e69429a28adf03216c755bc1b4504c6e735b2 (patch)
tree891479b5bad29f5dc64d0a430f768d7514ecbec5 /testsuites/samples/base_sp/apptask.c
parent2011-05-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-7c1e69429a28adf03216c755bc1b4504c6e735b2.tar.bz2
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.
Diffstat (limited to 'testsuites/samples/base_sp/apptask.c')
-rw-r--r--testsuites/samples/base_sp/apptask.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/testsuites/samples/base_sp/apptask.c b/testsuites/samples/base_sp/apptask.c
index 7ea6acd740..a2bcd82f9d 100644
--- a/testsuites/samples/base_sp/apptask.c
+++ b/testsuites/samples/base_sp/apptask.c
@@ -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 );