Merge remote-tracking branch 'origin/master' into bas24

This commit is contained in:
Gregory Nutt 2014-11-02 17:27:07 -06:00
commit ac58ec2f66

View File

@ -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);