summaryrefslogtreecommitdiff
path: root/apps/nshlib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nshlib')
-rw-r--r--apps/nshlib/nsh_apps.c4
-rw-r--r--apps/nshlib/nsh_parse.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/nshlib/nsh_apps.c b/apps/nshlib/nsh_apps.c
index 7ebc1280e..a8f9eb9bf 100644
--- a/apps/nshlib/nsh_apps.c
+++ b/apps/nshlib/nsh_apps.c
@@ -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);
}
diff --git a/apps/nshlib/nsh_parse.c b/apps/nshlib/nsh_parse.c
index bf34df676..e93c624fa 100644
--- a/apps/nshlib/nsh_parse.c
+++ b/apps/nshlib/nsh_parse.c
@@ -1152,13 +1152,13 @@ int nsh_parse(FAR struct nsh_vtbl_s *vtbl, char *cmdline)
}
/* Handle the case where the command is executed in background.
- * However is app is to be started as nuttapp new process will
+ * However is app is to be started as namedapp new process will
* be created anyway, so skip this step. */
#ifndef CONFIG_NSH_DISABLEBG
if (vtbl->np.np_bg
#ifdef CONFIG_NSH_BUILTIN_APPS
- && nuttapp_isavail(argv[0]) < 0
+ && namedapp_isavail(argv[0]) < 0
#endif
)
{