From 8db8500d6a33a9e890aa4d26fc00b08bc6f251f9 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 8 Nov 2019 01:10:30 -0800 Subject: [PATCH] Mac: Fix computation of non_BOINC CPU usage --- lib/procinfo_mac.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/procinfo_mac.cpp b/lib/procinfo_mac.cpp index a9ae27618c..92fe66d16e 100644 --- a/lib/procinfo_mac.cpp +++ b/lib/procinfo_mac.cpp @@ -1,6 +1,6 @@ // This file is part of BOINC. // http://boinc.berkeley.edu -// Copyright (C) 2018 University of California +// Copyright (C) 2019 University of California // // BOINC is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License @@ -140,7 +140,7 @@ int procinfo_setup(PROC_MAP& pm) { // incorrect results for the % CPU used. p.is_low_priority = false; - if (!strcasestr(p.command, brandName[iBrandID])) { + if (strcasestr(p.command, brandName[iBrandID])) { p.is_boinc_app = true; }