Author: andre
Date: Fri Oct 19 10:07:55 2012
New Revision: 241725
URL: http://svn.freebsd.org/changeset/base/241725

Log:
  Update to previous r241688 to use __func__ instead of spelled out function
  name in log(9) message.
  
  Suggested by: glebius

Modified:
  head/sys/net/if.c

Modified: head/sys/net/if.c
==============================================================================
--- head/sys/net/if.c   Fri Oct 19 10:04:43 2012        (r241724)
+++ head/sys/net/if.c   Fri Oct 19 10:07:55 2012        (r241725)
@@ -711,8 +711,8 @@ if_attachdomain1(struct ifnet *ifp)
                return;
        if (ifp->if_afdata_initialized >= domain_init_status) {
                IF_AFDATA_UNLOCK(ifp);
-               log(LOG_WARNING, "if_attachdomain called more than once "
-                   "on %s\n", ifp->if_xname);
+               log(LOG_WARNING, "%s called more than once on %s\n",
+                   __func__, ifp->if_xname);
                return;
        }
        ifp->if_afdata_initialized = domain_init_status;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to