From 4c3cc60932ac1b6ec0076ab89a80de55e0b69a4c Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 23 Mar 2013 19:06:40 +0000 Subject: binfmt_execmodule() calls to sched_releasttcb() was not updated to use the second, thread type parameter git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5779 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/binfmt/binfmt_execmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/binfmt/binfmt_execmodule.c') diff --git a/nuttx/binfmt/binfmt_execmodule.c b/nuttx/binfmt/binfmt_execmodule.c index 651960267..c98490359 100644 --- a/nuttx/binfmt/binfmt_execmodule.c +++ b/nuttx/binfmt/binfmt_execmodule.c @@ -245,10 +245,10 @@ int exec_module(FAR const struct binary_s *binp) errout_with_stack: #ifndef CONFIG_CUSTOM_STACK tcb->cmn.stack_alloc_ptr = NULL; - sched_releasetcb(&tcb->cmn); + sched_releasetcb(&tcb->cmn, TCB_FLAG_TTYPE_TASK); kufree(stack); #else - sched_releasetcb(&tcb->cmn); + sched_releasetcb(&tcb->cmn, TCB_FLAG_TTYPE_TASK); #endif goto errout; -- cgit v1.2.3