From fe2732d6382e46c7986013ae361e789a11bbe88a Mon Sep 17 00:00:00 2001 From: guy fleury iteriteka Date: Sat, 31 Aug 2019 16:04:53 +0200 Subject: satisfy 'werror=parantheses'. * vm/vm_map.c(vm_map_msync): explit group of first condition. --- vm/vm_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/vm_map.c b/vm/vm_map.c index 3d8d3b0d..ffc8934b 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -4883,7 +4883,7 @@ kern_return_t vm_map_msync( if (map == VM_MAP_NULL) return KERN_INVALID_ARGUMENT; - if (sync_flags & (VM_SYNC_ASYNCHRONOUS | VM_SYNC_SYNCHRONOUS) == + if ((sync_flags & (VM_SYNC_ASYNCHRONOUS | VM_SYNC_SYNCHRONOUS)) == (VM_SYNC_ASYNCHRONOUS | VM_SYNC_SYNCHRONOUS)) return KERN_INVALID_ARGUMENT; -- cgit v1.2.3