summaryrefslogtreecommitdiff
path: root/nuttx/sched/task_create.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-26 23:49:02 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-26 23:49:02 +0000
commit46d5183722a1aac256357f1a054575c6d5ab9a9f (patch)
tree59eb55cb25bbd20b052a87de5838d80a410a1439 /nuttx/sched/task_create.c
parent75f185244fbd0892fdb26443eda666ce21c417ec (diff)
downloadpx4-nuttx-46d5183722a1aac256357f1a054575c6d5ab9a9f.tar.gz
px4-nuttx-46d5183722a1aac256357f1a054575c6d5ab9a9f.tar.bz2
px4-nuttx-46d5183722a1aac256357f1a054575c6d5ab9a9f.zip
Move socket data from TCB to task group structure.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5570 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/task_create.c')
-rw-r--r--nuttx/sched/task_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/task_create.c b/nuttx/sched/task_create.c
index 85c0f5e92..944743200 100644
--- a/nuttx/sched/task_create.c
+++ b/nuttx/sched/task_create.c
@@ -134,7 +134,7 @@ static int thread_create(const char *name, uint8_t ttype, int priority,
/* Associate file descriptors with the new task */
#if CONFIG_NFILE_DESCRIPTORS > 0 || CONFIG_NSOCKET_DESCRIPTORS > 0
- ret = sched_setuptaskfiles(tcb);
+ ret = group_setuptaskfiles(tcb);
if (ret != OK)
{
errcode = -ret;