diff options
Diffstat (limited to 'nuttx/fs/fs_open.c')
-rw-r--r-- | nuttx/fs/fs_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/fs_open.c b/nuttx/fs/fs_open.c index 71fc8d0c4..d07b73416 100644 --- a/nuttx/fs/fs_open.c +++ b/nuttx/fs/fs_open.c @@ -74,7 +74,7 @@ int open(const char *path, int oflags, ...) struct filelist *list; FAR struct inode *inode; const char *relpath = NULL; -#ifdef CONFIG_FILE_MODE +#if defined(CONFIG_FILE_MODE) || !defined(CONFIG_DISABLE_MOUNTPOINT) mode_t mode = 0666; #endif int ret; |