From 1b756ca24ee65ead774844a4d00a68cf97307393 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 14 Jun 2012 23:27:02 +0000 Subject: [PATCH] Improve NFS retry logic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4845 42af7a65-404d-4744-a932-0658087f49c3 --- nshlib/nsh_envcmds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nshlib/nsh_envcmds.c b/nshlib/nsh_envcmds.c index 7603bf779..07b775517 100644 --- a/nshlib/nsh_envcmds.c +++ b/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 ****************************************************************************/