From 85b57ba0f1d30048a044b43a7962c0b8fe381331 Mon Sep 17 00:00:00 2001 From: guy fleury iteriteka Date: Sat, 31 Aug 2019 16:04:53 +0200 Subject: [PATCH] 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 7982921..a9b1429 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; -- 2.22.0