mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-09 06:25:16 +00:00
NSH Fix ls -l output for regular files
This commit is contained in:
parent
c993573dc2
commit
763519b00a
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ static int ls_handler(FAR struct nsh_vtbl_s *vtbl, FAR const char *dirpath,
|
|||
{
|
||||
details[0]='b';
|
||||
}
|
||||
else
|
||||
else if (!S_ISREG(buf.st_mode))
|
||||
{
|
||||
details[0]='?';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue