aboutsummaryrefslogtreecommitdiff
path: root/apps/nshlib
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-06-14 23:27:02 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-06-14 23:27:02 +0000
commit03e8602c57985b44d4321a1f923dc4ed48bf9bd2 (patch)
tree19f2e9ddd144b5fad813653dafee1fbb46388362 /apps/nshlib
parent3f57b622dfb643594a94829d041eb8daeb9fa7d5 (diff)
downloadpx4-firmware-03e8602c57985b44d4321a1f923dc4ed48bf9bd2.tar.gz
px4-firmware-03e8602c57985b44d4321a1f923dc4ed48bf9bd2.tar.bz2
px4-firmware-03e8602c57985b44d4321a1f923dc4ed48bf9bd2.zip
Improve NFS retry logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4845 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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
****************************************************************************/