svn commit: r241688 - head/sys/net
Andre Oppermann
andre at FreeBSD.org
Thu Oct 18 14:08:27 UTC 2012
Author: andre
Date: Thu Oct 18 14:08:26 2012
New Revision: 241688
URL: http://svn.freebsd.org/changeset/base/241688
Log:
Use LOG_WARNING level in in_attachdomain1() instead of printf().
Submitted by: vijju.singh-at-gmail.com
Modified:
head/sys/net/if.c
Modified: head/sys/net/if.c
==============================================================================
--- head/sys/net/if.c Thu Oct 18 13:57:28 2012 (r241687)
+++ head/sys/net/if.c Thu Oct 18 14:08:26 2012 (r241688)
@@ -711,8 +711,8 @@ if_attachdomain1(struct ifnet *ifp)
return;
if (ifp->if_afdata_initialized >= domain_init_status) {
IF_AFDATA_UNLOCK(ifp);
- printf("if_attachdomain called more than once on %s\n",
- ifp->if_xname);
+ log(LOG_WARNING, "if_attachdomain called more than once "
+ "on %s\n", ifp->if_xname);
return;
}
ifp->if_afdata_initialized = domain_init_status;
More information about the svn-src-head
mailing list