diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-02 19:32:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-02 19:32:46 +0000 |
commit | 2cc0db0c264e064ee203c2f19b91f7ba013fdf25 (patch) | |
tree | 2397df4041c98231b56158d63389447d654f525a /apps/nshlib | |
parent | 60185fe969614b01d5dc57f3aa157b24d2901af6 (diff) | |
download | px4-nuttx-2cc0db0c264e064ee203c2f19b91f7ba013fdf25.tar.gz px4-nuttx-2cc0db0c264e064ee203c2f19b91f7ba013fdf25.tar.bz2 px4-nuttx-2cc0db0c264e064ee203c2f19b91f7ba013fdf25.zip |
All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5599 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib')
-rw-r--r-- | apps/nshlib/nsh_builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_builtin.c b/apps/nshlib/nsh_builtin.c index 0d5a0231c..0819377de 100644 --- a/apps/nshlib/nsh_builtin.c +++ b/apps/nshlib/nsh_builtin.c @@ -126,7 +126,7 @@ int nsh_builtin(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd, * applications. */ - ret = exec_builtin(cmd, (FAR const char **)argv, redirfile, oflags); + ret = exec_builtin(cmd, (FAR char * const *)argv, redirfile, oflags); if (ret >= 0) { /* The application was successfully started with pre-emption disabled. |