diff options
author | Gedare Bloom <gedare@rtems.org> | 2017-05-16 11:37:27 -0400 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2017-05-16 11:37:27 -0400 |
commit | a330c5dc246eb902a8191c9c7bd50eb76254b001 (patch) | |
tree | bb81d677e910437b5a915d619de8487d58029a46 | |
parent | confdefs.h: Add SMP enabled field to configuration (diff) | |
download | rtems-a330c5dc246eb902a8191c9c7bd50eb76254b001.tar.bz2 |
posix: clarify expression with parentheses
Close #3010.
-rw-r--r-- | cpukit/posix/src/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/mmap.c b/cpukit/posix/src/mmap.c index 9f555ade92..5b6ac2e209 100644 --- a/cpukit/posix/src/mmap.c +++ b/cpukit/posix/src/mmap.c @@ -186,7 +186,7 @@ void *mmap( errno = EINVAL; return MAP_FAILED; } - } else if ( (flags & MAP_PRIVATE != MAP_PRIVATE) ) { + } else if ( (flags & MAP_PRIVATE) != MAP_PRIVATE ) { errno = EINVAL; return MAP_FAILED; } |