You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/02/21 12:32:56 UTC
[incubator-nuttx] branch master updated: libc/sched/task_setcanceltype: fix function name in comment
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 9b02a91 libc/sched/task_setcanceltype: fix function name in comment
9b02a91 is described below
commit 9b02a91c72e619143a0573298a6c33252a54444a
Author: Petro Karashchenko <pe...@gmail.com>
AuthorDate: Mon Feb 21 13:03:30 2022 +0200
libc/sched/task_setcanceltype: fix function name in comment
Signed-off-by: Petro Karashchenko <pe...@gmail.com>
---
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 78e840f..6b1e4ff 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 6fbfcf8..d699beb 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);