Date: Sat, 9 Apr 2011 13:19:44 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r220494 - stable/8/sys/net Message-ID: <201104091319.p39DJiFX015131@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Sat Apr 9 13:19:44 2011 New Revision: 220494 URL: http://svn.freebsd.org/changeset/base/220494 Log: MFC r218555: Mfp4 CH=177255: Use __func__ rather than __FUNCTION__. Modified: stable/8/sys/net/vnet.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/net/vnet.h ============================================================================== --- stable/8/sys/net/vnet.h Sat Apr 9 12:56:13 2011 (r220493) +++ stable/8/sys/net/vnet.h Sat Apr 9 13:19:44 2011 (r220494) @@ -122,7 +122,7 @@ void vnet_log_recursion(struct vnet *, c #define VNET_ASSERT(condition) \ if (!(condition)) { \ printf("VNET_ASSERT @ %s:%d %s():\n", \ - __FILE__, __LINE__, __FUNCTION__); \ + __FILE__, __LINE__, __func__); \ panic(#condition); \ } @@ -131,7 +131,7 @@ void vnet_log_recursion(struct vnet *, c struct vnet *saved_vnet = curvnet; \ const char *saved_vnet_lpush = curthread->td_vnet_lpush; \ curvnet = arg; \ - curthread->td_vnet_lpush = __FUNCTION__; + curthread->td_vnet_lpush = __func__; #define CURVNET_SET_VERBOSE(arg) \ CURVNET_SET_QUIET(arg) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104091319.p39DJiFX015131>