diff options
Diffstat (limited to 'nuttx/sched/env_share.c')
-rw-r--r-- | nuttx/sched/env_share.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/env_share.c b/nuttx/sched/env_share.c index a1c740aa7..20920a8d3 100644 --- a/nuttx/sched/env_share.c +++ b/nuttx/sched/env_share.c @@ -98,7 +98,7 @@ int env_share(FAR _TCB *ptcb) { /* Yes.. increment the reference count on the environment */ - envp++; + envp->ev_crefs++; } /* Then share the environment */ |