mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
Renamed nuttapp to namedapp; add binfs to nammedapp/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3429 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -93,7 +93,7 @@ int nsh_execapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||
|
||||
/* Try to find command within pre-built application list. */
|
||||
|
||||
ret = exec_nuttapp(cmd, argv);
|
||||
ret = exec_namedapp(cmd, argv);
|
||||
if (ret < 0)
|
||||
{
|
||||
int err = -errno;
|
||||
@@ -102,7 +102,7 @@ int nsh_execapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||
/* On failure, list the set of available built-in commands */
|
||||
|
||||
nsh_output(vtbl, "Builtin Apps: ");
|
||||
for (i = 0; (name = nuttapp_getname(i)) != NULL; i++)
|
||||
for (i = 0; (name = namedapp_getname(i)) != NULL; i++)
|
||||
{
|
||||
nsh_output(vtbl, "%s ", name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user