From 9b6362da712e58f39ac637b1705e6f6ea16c0be9 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 18 Nov 2021 12:13:53 +0100 Subject: rtems: Use RTEMS_WHO_AM_I for rtems_task_ident() --- testsuites/samples/ticker/tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/samples/ticker/tasks.c') diff --git a/testsuites/samples/ticker/tasks.c b/testsuites/samples/ticker/tasks.c index 12e806884d..7ff6eb7319 100644 --- a/testsuites/samples/ticker/tasks.c +++ b/testsuites/samples/ticker/tasks.c @@ -30,7 +30,7 @@ rtems_task Test_task( uint32_t task_index; rtems_status_code status; - status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid ); + status = rtems_task_ident( RTEMS_WHO_AM_I, RTEMS_SEARCH_ALL_NODES, &tid ); directive_failed( status, "task ident" ); task_index = task_number( tid ); -- cgit v1.2.3