summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mqueuerecvsupp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/mqueuerecvsupp.c')
-rw-r--r--cpukit/posix/src/mqueuerecvsupp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/mqueuerecvsupp.c b/cpukit/posix/src/mqueuerecvsupp.c
index dff76c184d..9c3fb47371 100644
--- a/cpukit/posix/src/mqueuerecvsupp.c
+++ b/cpukit/posix/src/mqueuerecvsupp.c
@@ -88,7 +88,7 @@ ssize_t _POSIX_Message_queue_Receive_support(
* A timed receive with a bad time will do a poll regardless.
*/
if ( wait )
- do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? FALSE : TRUE;
+ do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;
else
do_wait = wait;