aboutsummaryrefslogtreecommitdiff
path: root/nuttx/libc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-17 18:32:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-17 18:32:13 +0000
commit19e43efe230a2b8720d98cba5a6ad156942e291f (patch)
tree677aa6a3af5241be04684f2d02eb0e719234b68c /nuttx/libc
parente9d0885500d437cc6c89370d8131913bd1e7310b (diff)
downloadpx4-firmware-19e43efe230a2b8720d98cba5a6ad156942e291f.tar.gz
px4-firmware-19e43efe230a2b8720d98cba5a6ad156942e291f.tar.bz2
px4-firmware-19e43efe230a2b8720d98cba5a6ad156942e291f.zip
NSH will now run files from the file system; Add logic to unload and clean-up after running a task from a file system; Extensions to builtin apps from Mike Smith
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5529 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc')
-rw-r--r--nuttx/libc/spawn/lib_ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/libc/spawn/lib_ps.c b/nuttx/libc/spawn/lib_ps.c
index 638b27f87..000f711a3 100644
--- a/nuttx/libc/spawn/lib_ps.c
+++ b/nuttx/libc/spawn/lib_ps.c
@@ -247,7 +247,7 @@ static int ps_exec(FAR pid_t *pidp, FAR const char *path,
errout:
sched_unlock();
- return OK;
+ return ret;
}
/****************************************************************************