Date: Wed, 17 Jun 2009 19:40:53 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r194389 - projects/ngroups/sys/kern Message-ID: <200906171940.n5HJerMr086037@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Wed Jun 17 19:40:53 2009 New Revision: 194389 URL: http://svn.freebsd.org/changeset/base/194389 Log: use MIN() instead of min() in one case. Modified: projects/ngroups/sys/kern/kern_prot.c Modified: projects/ngroups/sys/kern/kern_prot.c ============================================================================== --- projects/ngroups/sys/kern/kern_prot.c Wed Jun 17 19:01:47 2009 (r194388) +++ projects/ngroups/sys/kern/kern_prot.c Wed Jun 17 19:40:53 2009 (r194389) @@ -1899,7 +1899,7 @@ cru2x(struct ucred *cr, struct xucred *x xcr->cr_version = XUCRED_VERSION; xcr->cr_uid = cr->cr_uid; - ngroups = min(cr->cr_ngroups, XU_NGROUPS); + ngroups = MIN(cr->cr_ngroups, XU_NGROUPS); xcr->cr_ngroups = ngroups; bcopy(cr->cr_groups, xcr->cr_groups, ngroups * sizeof(*cr->cr_groups));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906171940.n5HJerMr086037>