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