diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-02 19:31:30 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-02 19:31:30 +0000 |
commit | 60185fe969614b01d5dc57f3aa157b24d2901af6 (patch) | |
tree | d63a6a6a97cae8d4fe62b41e900fbcd5c29aceaf /nuttx/libc/unistd | |
parent | f1851b468b62b448a0d9ed343d4ca8b9987e0d53 (diff) | |
download | px4-nuttx-60185fe969614b01d5dc57f3aa157b24d2901af6.tar.gz px4-nuttx-60185fe969614b01d5dc57f3aa157b24d2901af6.tar.bz2 px4-nuttx-60185fe969614b01d5dc57f3aa157b24d2901af6.zip |
New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5598 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc/unistd')
-rw-r--r-- | nuttx/libc/unistd/lib_execv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/libc/unistd/lib_execv.c b/nuttx/libc/unistd/lib_execv.c index 48b089913..64346c9db 100644 --- a/nuttx/libc/unistd/lib_execv.c +++ b/nuttx/libc/unistd/lib_execv.c @@ -117,7 +117,7 @@ * ****************************************************************************/ -int execv(FAR const char *path, FAR char *const argv[]) +int execv(FAR const char *path, FAR char * const argv[]) { FAR const struct symtab_s *symtab; int nsymbols; @@ -129,7 +129,7 @@ int execv(FAR const char *path, FAR char *const argv[]) /* Start the task */ - ret = exec(path, (FAR const char **)argv, symtab, nsymbols); + ret = exec(path, (FAR char * const *)argv, symtab, nsymbols); if (ret < 0) { sdbg("exec failed: %d\n", errno); |