Skip to content

Commit

Permalink
[NAV#450] Corrected formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Wheatley committed Sep 21, 2022
1 parent aabcf56 commit aed764b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/os/rtems/src/os-impl-tasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ int32 OS_TaskCreate_Impl(const OS_object_token_t *token, uint32 flags)
return OS_ERROR;
}

status = rtems_object_set_name( impl->id, task->task_name );
if (status != RTEMS_SUCCESSFUL )
status = rtems_object_set_name(impl->id, task->task_name);
if (status != RTEMS_SUCCESSFUL)
{
/* Provide some feedback */
OS_printf("Unable to set task name: %s\n", rtems_status_text(status));
OS_printf("Unable to set task name: %s\n", rtems_status_text(status));
}

/* will place the task in 'ready for scheduling' state */
Expand Down

0 comments on commit aed764b

Please sign in to comment.