Fix environment sharing bug

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@854 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2008-08-30 14:37:49 +00:00
parent d27e2d61b2
commit af1a31d5c6
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -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 */