summaryrefslogtreecommitdiff
path: root/apps/nshlib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nshlib')
-rw-r--r--apps/nshlib/nsh_envcmds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_envcmds.c b/apps/nshlib/nsh_envcmds.c
index 7603bf779..07b775517 100644
--- a/apps/nshlib/nsh_envcmds.c
+++ b/apps/nshlib/nsh_envcmds.c
@@ -109,7 +109,7 @@ static inline char *nsh_getdirpath(FAR struct nsh_vtbl_s *vtbl,
char *alloc;
int len;
- /* Handle the special case where the dirpath is simply */
+ /* Handle the special case where the dirpath is simply "/" */
if (strcmp(dirpath, "/") == 0)
{
@@ -151,6 +151,7 @@ FAR const char *nsh_getcwd(void)
return nsh_getwd(g_pwd);
}
#endif
+
/****************************************************************************
* Name: nsh_getfullpath
****************************************************************************/