libc/sched/task_setcanceltype: fix function name in comment

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2022-02-21 13:03:30 +02:00 committed by Xiang Xiao
parent 7744ca998f
commit 9b02a91c72
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
****************************************************************************/
/****************************************************************************
* Name: task_setcancelstate
* Name: task_setcanceltype
*
* Description:
* The task_setcanceltype() function atomically both sets the calling

View File

@ -222,7 +222,7 @@ int group_allocate(FAR struct task_tcb_s *tcb, uint8_t ttype)
errout_with_stream:
#if defined(CONFIG_FILE_STREAM) && defined(CONFIG_MM_KERNEL_HEAP)
group_free(group, group->tg_streamlist);
group_free(group, group->tg_streamlist);
#endif
errout_with_group:
group_deallocate(group);