diff options
Diffstat (limited to 'nuttx/sched/errno_getptr.c')
-rw-r--r-- | nuttx/sched/errno_getptr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/errno_getptr.c b/nuttx/sched/errno_getptr.c index 0b27768da..841cb837c 100644 --- a/nuttx/sched/errno_getptr.c +++ b/nuttx/sched/errno_getptr.c @@ -91,7 +91,7 @@ FAR int *get_errno_ptr(void) * logic (see, for example, task_deletecurrent.c). */ - FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head; + FAR struct tcb_s *rtcb = (FAR struct tcb_s*)g_readytorun.head; if (rtcb->task_state == TSTATE_TASK_RUNNING) { /* Yes.. the task is running normally. Return a reference to the |