diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-02 17:27:07 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-02 17:27:07 -0600 |
commit | d5ac348ccc43fdef4f429f1f9a1411d2618c9d74 (patch) | |
tree | 72def50719828e47bdff1798a280caa6b8dc13fe | |
parent | c9466152fb7bc8d58954e0e3252707fe99d67ba7 (diff) | |
parent | be11f4038578d1f1f37ee3aa40913511af6c1b18 (diff) | |
download | nuttx-d5ac348ccc43fdef4f429f1f9a1411d2618c9d74.tar.gz nuttx-d5ac348ccc43fdef4f429f1f9a1411d2618c9d74.tar.bz2 nuttx-d5ac348ccc43fdef4f429f1f9a1411d2618c9d74.zip |
Merge remote-tracking branch 'origin/master' into bas24
-rw-r--r-- | nuttx/fs/vfs/fs_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/vfs/fs_open.c b/nuttx/fs/vfs/fs_open.c index fd6562ac3..1fb0cb538 100644 --- a/nuttx/fs/vfs/fs_open.c +++ b/nuttx/fs/vfs/fs_open.c @@ -107,7 +107,7 @@ int open(const char *path, int oflags, ...) /* If the file is opened for creation, then get the mode bits */ - if (oflags & (O_WRONLY|O_CREAT) != 0) + if ((oflags & (O_WRONLY|O_CREAT)) != 0) { va_list ap; va_start(ap, oflags); |