From c26939d9d8cfb00426580b78bb58a20bc1b11a15 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 28 Sep 2014 17:30:42 -0600 Subject: [PATCH] More testing, bugfixes and integration of VFS-based named semaphores --- nshlib/nsh_fscmds.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nshlib/nsh_fscmds.c b/nshlib/nsh_fscmds.c index 550e80ac5..e4ecbdb67 100644 --- a/nshlib/nsh_fscmds.c +++ b/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) {