diff options
Diffstat (limited to 'nuttx/sched')
-rw-r--r-- | nuttx/sched/sched_setuptaskfiles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/sched_setuptaskfiles.c b/nuttx/sched/sched_setuptaskfiles.c index 7f754e151..fe0b14143 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 |