Author: araujo Date: Fri Apr 22 05:07:59 2016 New Revision: 298447 URL: https://svnweb.freebsd.org/changeset/base/298447
Log: Use macro MAX() from sys/param.h. MFC after: 2 weeks. Modified: head/usr.sbin/pmccontrol/pmccontrol.c Modified: head/usr.sbin/pmccontrol/pmccontrol.c ============================================================================== --- head/usr.sbin/pmccontrol/pmccontrol.c Fri Apr 22 05:01:43 2016 (r298446) +++ head/usr.sbin/pmccontrol/pmccontrol.c Fri Apr 22 05:07:59 2016 (r298447) @@ -141,7 +141,7 @@ pmcc_do_enable_disable(struct pmcc_op_li 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) _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"