Date: Wed, 31 Aug 2005 20:27:52 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 82933 for review Message-ID: <200508312027.j7VKRqAM029732@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=82933 Change 82933 by csjp@csjp_xor on 2005/08/31 20:27:10 SYSCTL_INT expects to see an int *, not const int * so rather than pass this pointer use the macro constant instead. This unbreaks the build. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#450 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#450 (text+ko) ==== @@ -122,7 +122,7 @@ */ const int mac_version = __MAC_version; SYSCTL_INT(_security_mac, OID_AUTO, version, CTLFLAG_RD, - &mac_version, 0, "MAC version"); + 0, __MAC_version, "MAC version"); #if MAC_MAX_SLOTS > 32 #error "MAC_MAX_SLOTS too large"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508312027.j7VKRqAM029732>