From 7154c7949671358591e421ca4ef4412f4469aeff Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Sun, 19 Mar 2017 11:32:36 +0200 Subject: [PATCH] freebsd coverity: 164802 Same on both sides --- src/freebsd_sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freebsd_sysctl.c b/src/freebsd_sysctl.c index 37fc8e52..eca82228 100644 --- a/src/freebsd_sysctl.c +++ b/src/freebsd_sysctl.c @@ -3476,7 +3476,7 @@ int do_kern_devstat(int update_every, usec_t dt) { } if (unlikely(!enable_pass_devices)) - if (dstat[i].device_type & DEVSTAT_TYPE_PASS == DEVSTAT_TYPE_PASS) + if ((dstat[i].device_type & DEVSTAT_TYPE_PASS) == DEVSTAT_TYPE_PASS) continue; if (((dstat[i].device_type & DEVSTAT_TYPE_MASK) == DEVSTAT_TYPE_DIRECT) || ((dstat[i].device_type & DEVSTAT_TYPE_MASK) == DEVSTAT_TYPE_STORARRAY)) { -- 2.39.2