summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2016-04-22 05:07:59 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2016-04-22 05:07:59 +0000
commita301ee66ba976670223ad52d1b52861321565d9c (patch)
treed7a5aa7d7811dd4c0aa848c634820d97abad7303
parent7cd9b96b7ad71d15f163772dbff0a6f693667430 (diff)
Notes
-rw-r--r--usr.sbin/pmccontrol/pmccontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pmccontrol/pmccontrol.c b/usr.sbin/pmccontrol/pmccontrol.c
index c1e2acdefc35b..62c074c7f78d3 100644
--- a/usr.sbin/pmccontrol/pmccontrol.c
+++ b/usr.sbin/pmccontrol/pmccontrol.c
@@ -141,7 +141,7 @@ pmcc_do_enable_disable(struct pmcc_op_list *op_list)
err(EX_OSERR,
"Unable to determine the number of PMCs in CPU %d",
c);
- npmc = t > npmc ? t : npmc;
+ npmc = MAX(t, npmc);
}
if (npmc == 0)