diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-07 18:54:35 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-07 18:54:35 +0000 |
commit | a97e1cc4d1195f56bc10acbcd469bb71e016476c (patch) | |
tree | cf55edbd73ba0e05c79ccf087fc03d6e6fcfd1b4 /nuttx/fs | |
parent | 50470d26f72a21786f23219f157a12aab64f2683 (diff) | |
download | px4-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.c | 2 |
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; |