summaryrefslogtreecommitdiff
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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/nuttx/fs/fs_stat.c b/nuttx/fs/fs_stat.c
index ac72658ba..f0b85d911 100644
--- a/nuttx/fs/fs_stat.c
+++ b/nuttx/fs/fs_stat.c
@@ -53,8 +53,6 @@
* Private Functions
****************************************************************************/
-#if CONFIG_NFILE_DESCRIPTORS > 0
-
/****************************************************************************
* Name: statpsuedo
****************************************************************************/
@@ -161,7 +159,7 @@ int stat(const char *path, FAR struct stat *buf)
* are dealing with.
*/
-#ifndef CONFIG_DISABLE_MOUNTPOUNT
+#ifndef CONFIG_DISABLE_MOUNTPOINT
if (INODE_IS_MOUNTPT(inode))
{
/* The node is a file system mointpoint. Verify that the mountpoint
@@ -205,4 +203,3 @@ int stat(const char *path, FAR struct stat *buf)
return ERROR;
}
-#endif /* CONFIG_NFILE_DESCRIPTORS */