summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/syscall/pipe.c
diff options
context:
space:
mode:
authorTheo Schlossnagle <jesus@omniti.com>2013-05-09 23:44:40 +0000
committerGarrett D'Amore <garrett@damore.org>2013-04-23 13:38:06 -0700
commit5eaceb49d5b95dd7910af115172887f8dbddfb4c (patch)
tree9c20e3039ce5942db183ab40bb1e3cf70b2d4a72 /usr/src/uts/common/syscall/pipe.c
parent5dbfd19ad5fcc2b779f40f80fa05c1bd28fd0b4e (diff)
downloadillumos-joyent-5eaceb49d5b95dd7910af115172887f8dbddfb4c.tar.gz
3713 Implement accept4() (fix lint)
Diffstat (limited to 'usr/src/uts/common/syscall/pipe.c')
-rw-r--r--usr/src/uts/common/syscall/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/syscall/pipe.c b/usr/src/uts/common/syscall/pipe.c
index 1b9ea4f6db..15b49536de 100644
--- a/usr/src/uts/common/syscall/pipe.c
+++ b/usr/src/uts/common/syscall/pipe.c
@@ -116,7 +116,7 @@ pipe(intptr_t arg, int flags)
/*
* Validate allowed flags.
*/
- if (flags & ~(FCLOEXEC|FNONBLOCK) != 0) {
+ if ((flags & ~(FCLOEXEC|FNONBLOCK)) != 0) {
return (set_errno(EINVAL));
}
/*