summaryrefslogtreecommitdiffstats
path: root/nuttx/sched/sched_setuptaskfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sched_setuptaskfiles.c')
-rw-r--r--nuttx/sched/sched_setuptaskfiles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/sched_setuptaskfiles.c b/nuttx/sched/sched_setuptaskfiles.c
index 7f754e1514..fe0b14143d 100644
--- a/nuttx/sched/sched_setuptaskfiles.c
+++ b/nuttx/sched/sched_setuptaskfiles.c
@@ -148,8 +148,8 @@ static inline void sched_dupsockets(FAR _TCB *tcb)
/* The parent task is the one at the head of the ready-to-run list */
FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head;
- FAR struct sockets *parent;
- FAR struct sockets *child;
+ FAR struct socket *parent;
+ FAR struct socket *child;
int i;
/* Duplicate the socket descriptors of all sockets opened by the parent