Author: bz Date: Fri Feb 11 12:56:05 2011 New Revision: 218555 URL: http://svn.freebsd.org/changeset/base/218555
Log: Mfp4 CH=177255: Use __func__ rather than __FUNCTION__. MFC after: 2 weeks Modified: head/sys/net/vnet.h Modified: head/sys/net/vnet.h ============================================================================== --- head/sys/net/vnet.h Fri Feb 11 12:26:23 2011 (r218554) +++ head/sys/net/vnet.h Fri Feb 11 12:56:05 2011 (r218555) @@ -124,7 +124,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); \ } @@ -133,7 +133,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) \ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"