summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/base_mp/apptask.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/samples/base_mp/apptask.c')
-rw-r--r--testsuites/samples/base_mp/apptask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/samples/base_mp/apptask.c b/testsuites/samples/base_mp/apptask.c
index e54e08afe8..063328ed42 100644
--- a/testsuites/samples/base_mp/apptask.c
+++ b/testsuites/samples/base_mp/apptask.c
@@ -32,7 +32,7 @@ rtems_task Application_task(
rtems_id tid;
rtems_status_code status;
- rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
+ rtems_task_ident( RTEMS_WHO_AM_I, RTEMS_SEARCH_ALL_NODES, &tid );
(void) status;
printf( "This task was invoked with the node argument (%" PRIdrtems_task_argument ")\n", node );
printf( "This task has the id of 0x%" PRIxrtems_id "\n", tid );