diff --git a/sched/group/group_killchildren.c b/sched/group/group_killchildren.c index f72c3f81cba..9ae2295c1ac 100644 --- a/sched/group/group_killchildren.c +++ b/sched/group/group_killchildren.c @@ -68,7 +68,7 @@ static int group_kill_children_handler(pid_t pid, FAR void *arg) if (pid != (pid_t)((uintptr_t)arg)) { - pthread_kill(pid, SIGTERM); + tkill(pid, SIGTERM); } return OK;