diff options
Diffstat (limited to 'nuttx/libc/unistd/lib_execv.c')
-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); |