FS FAT: Fix hard-fault when listing contents of FAT root
This commit is contained in:
parent
51ed697de1
commit
d02c0c05ae
@ -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…
Reference in New Issue
Block a user