mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
Cosmetic. Fix some conditional logic in some conditioned out code
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user