summaryrefslogtreecommitdiff
path: root/nuttx/fs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-07 18:54:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-07 18:54:35 +0000
commita97e1cc4d1195f56bc10acbcd469bb71e016476c (patch)
treecf55edbd73ba0e05c79ccf087fc03d6e6fcfd1b4 /nuttx/fs
parent50470d26f72a21786f23219f157a12aab64f2683 (diff)
downloadpx4-nuttx-a97e1cc4d1195f56bc10acbcd469bb71e016476c.tar.gz
px4-nuttx-a97e1cc4d1195f56bc10acbcd469bb71e016476c.tar.bz2
px4-nuttx-a97e1cc4d1195f56bc10acbcd469bb71e016476c.zip
Finished partitioning uip.c (now system is broken)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@375 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs')
-rw-r--r--nuttx/fs/fs_open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/fs/fs_open.c b/nuttx/fs/fs_open.c
index 094710d31..71fc8d0c4 100644
--- a/nuttx/fs/fs_open.c
+++ b/nuttx/fs/fs_open.c
@@ -74,7 +74,9 @@ int open(const char *path, int oflags, ...)
struct filelist *list;
FAR struct inode *inode;
const char *relpath = NULL;
+#ifdef CONFIG_FILE_MODE
mode_t mode = 0666;
+#endif
int ret;
int fd;