FS FAT: Fix hard-fault when listing contents of FAT root

This commit is contained in:
Jussi Kivilinna 2017-10-13 07:54:40 -06:00 committed by Gregory Nutt
parent 51ed697de1
commit d02c0c05ae

View File

@ -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;
}
/****************************************************************************