Use macro MAX() from sys/param.h.
MFC after: 2 weeks.
This commit is contained in:
parent
7cd9b96b7a
commit
a301ee66ba
@ -141,7 +141,7 @@ pmcc_do_enable_disable(struct pmcc_op_list *op_list)
|
|||||||
err(EX_OSERR,
|
err(EX_OSERR,
|
||||||
"Unable to determine the number of PMCs in CPU %d",
|
"Unable to determine the number of PMCs in CPU %d",
|
||||||
c);
|
c);
|
||||||
npmc = t > npmc ? t : npmc;
|
npmc = MAX(t, npmc);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (npmc == 0)
|
if (npmc == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user