summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/base_mp
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-18 12:13:53 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-18 19:59:14 +0100
commit9b6362da712e58f39ac637b1705e6f6ea16c0be9 (patch)
tree6d5c05f724c478e7d86ade1b2a947c8811aa3b89 /testsuites/samples/base_mp
parentrtems: Add signal header to implementation group (diff)
downloadrtems-9b6362da712e58f39ac637b1705e6f6ea16c0be9.tar.bz2
rtems: Use RTEMS_WHO_AM_I for rtems_task_ident()
Diffstat (limited to 'testsuites/samples/base_mp')
-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 );