From 9b02a91c72e619143a0573298a6c33252a54444a Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Mon, 21 Feb 2022 13:03:30 +0200 Subject: [PATCH] libc/sched/task_setcanceltype: fix function name in comment Signed-off-by: Petro Karashchenko --- libs/libc/sched/task_setcanceltype.c | 2 +- sched/group/group_create.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libc/sched/task_setcanceltype.c b/libs/libc/sched/task_setcanceltype.c index 78e840f0de..6b1e4ff3ff 100644 --- a/libs/libc/sched/task_setcanceltype.c +++ b/libs/libc/sched/task_setcanceltype.c @@ -30,7 +30,7 @@ ****************************************************************************/ /**************************************************************************** - * Name: task_setcancelstate + * Name: task_setcanceltype * * Description: * The task_setcanceltype() function atomically both sets the calling diff --git a/sched/group/group_create.c b/sched/group/group_create.c index 6fbfcf8800..d699bebb19 100644 --- a/sched/group/group_create.c +++ b/sched/group/group_create.c @@ -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);