diff options
Diffstat (limited to 'nuttx/fs/fs_stat.c')
-rw-r--r-- | nuttx/fs/fs_stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/fs_stat.c b/nuttx/fs/fs_stat.c index 4df25028f..109074dc6 100644 --- a/nuttx/fs/fs_stat.c +++ b/nuttx/fs/fs_stat.c @@ -109,7 +109,7 @@ static inline int statpseudo(FAR struct inode *inode, FAR struct stat *buf) static inline int statroot(FAR struct stat *buf) { /* There is no inode associated with the fake root directory */ - + memset(buf, 0, sizeof(struct stat) ); buf->st_mode = S_IFDIR|S_IROTH|S_IRGRP|S_IRUSR; return OK; |