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)                                          \
_______________________________________________
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"

Reply via email to