summaryrefslogtreecommitdiffstats
path: root/apps/nshlib
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-28 17:30:42 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-28 17:30:42 -0600
commit3f797bde9431ff7c398fe119a19a0b027d6f5d4a (patch)
tree6314e79f5e513e2f56c153e608c61af65362dbc2 /apps/nshlib
parenta17a384907bf0526acc7573bb609c97dfb47f143 (diff)
More testing, bugfixes and integration of VFS-based named semaphores
Diffstat (limited to 'apps/nshlib')
-rw-r--r--apps/nshlib/nsh_fscmds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/nshlib/nsh_fscmds.c b/apps/nshlib/nsh_fscmds.c
index 550e80ac55..e4ecbdb679 100644
--- a/apps/nshlib/nsh_fscmds.c
+++ b/apps/nshlib/nsh_fscmds.c
@@ -284,6 +284,10 @@ static int ls_handler(FAR struct nsh_vtbl_s *vtbl, FAR const char *dirpath,
{
details[0]='b';
}
+ else
+ {
+ details[0]='?';
+ }
if ((buf.st_mode & S_IRUSR) != 0)
{