mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 22:35:22 +00:00
FS FAT: Fix hard-fault when listing contents of FAT root
This commit is contained in:
parent
51ed697de1
commit
d02c0c05ae
1 changed files with 1 additions and 1 deletions
|
|
@ -2680,7 +2680,7 @@ static int fat_stat_root(FAR struct fat_mountpt_s *fs,
|
|||
buf->st_mode = S_IFDIR | S_IROTH | S_IRGRP | S_IRUSR | S_IWOTH |
|
||||
S_IWGRP | S_IWUSR;
|
||||
|
||||
return fat_stat_common(fs, direntry, buf);
|
||||
return OK;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue