From 0b263b0eb7dd05efe44359b9d8172926856badc7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sun, 21 Feb 2021 10:47:36 +0100 Subject: score: Remove _Objects_Open() Use the type safe _Objects_Open_u32() instead. Return the object identifier to enforce a common usage pattern. --- cpukit/rtems/src/taskconstruct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/rtems/src/taskconstruct.c') diff --git a/cpukit/rtems/src/taskconstruct.c b/cpukit/rtems/src/taskconstruct.c index d33a850d88..799554c417 100644 --- a/cpukit/rtems/src/taskconstruct.c +++ b/cpukit/rtems/src/taskconstruct.c @@ -135,7 +135,7 @@ rtems_status_code _RTEMS_tasks_Create( THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE : THREAD_CPU_BUDGET_ALGORITHM_NONE, thread_config.isr_level = _Modes_Get_interrupt_level( config->initial_modes ); - thread_config.name.name_u32 = config->name; + thread_config.name = config->name; thread_config.is_fp = _Attributes_Is_floating_point( attributes ); thread_config.is_preemptible = _Modes_Is_preempt( config->initial_modes ); -- cgit v1.2.3