From a97e1cc4d1195f56bc10acbcd469bb71e016476c Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 7 Nov 2007 18:54:35 +0000 Subject: 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 --- nuttx/fs/fs_open.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nuttx/fs') 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; -- cgit v1.2.3