From owner-svn-src-head@FreeBSD.ORG Thu Oct 18 14:08:27 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29FAD234; Thu, 18 Oct 2012 14:08:27 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1054E8FC17; Thu, 18 Oct 2012 14:08:27 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9IE8Q19053497; Thu, 18 Oct 2012 14:08:26 GMT (envelope-from andre@svn.freebsd.org) Received: (from andre@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9IE8QwE053495; Thu, 18 Oct 2012 14:08:26 GMT (envelope-from andre@svn.freebsd.org) Message-Id: <201210181408.q9IE8QwE053495@svn.freebsd.org> From: Andre Oppermann Date: Thu, 18 Oct 2012 14:08:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241688 - head/sys/net X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2012 14:08:27 -0000 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;