summaryrefslogtreecommitdiffstats
path: root/nuttx/fs/fs_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/fs_stat.c')
-rw-r--r--nuttx/fs/fs_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/fs_stat.c b/nuttx/fs/fs_stat.c
index f0b85d911a..3b59b6a10e 100644
--- a/nuttx/fs/fs_stat.c
+++ b/nuttx/fs/fs_stat.c
@@ -126,7 +126,7 @@ int stat(const char *path, FAR struct stat *buf)
{
FAR struct inode *inode;
const char *relpath = NULL;
- int ret;
+ int ret = OK;
/* Sanity checks */