From owner-svn-src-stable@FreeBSD.ORG Thu Feb 19 21:29:31 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15529106566C; Thu, 19 Feb 2009 21:29:31 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 028A28FC15; Thu, 19 Feb 2009 21:29:31 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1JLTUCF008298; Thu, 19 Feb 2009 21:29:30 GMT (envelope-from luigi@svn.freebsd.org) Received: (from luigi@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1JLTUq4008297; Thu, 19 Feb 2009 21:29:30 GMT (envelope-from luigi@svn.freebsd.org) Message-Id: <200902192129.n1JLTUq4008297@svn.freebsd.org> From: Luigi Rizzo Date: Thu, 19 Feb 2009 21:29:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188830 - stable/7/sys/netinet X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 21:29:32 -0000 Author: luigi Date: Thu Feb 19 21:29:30 2009 New Revision: 188830 URL: http://svn.freebsd.org/changeset/base/188830 Log: correct the spelling of a log message (missing "All "); on passing, rename a variable within a macro to reduce the chance of shadowing other variables with the same name Modified: stable/7/sys/netinet/ip_fw2.c Modified: stable/7/sys/netinet/ip_fw2.c ============================================================================== --- stable/7/sys/netinet/ip_fw2.c Thu Feb 19 20:45:37 2009 (r188829) +++ stable/7/sys/netinet/ip_fw2.c Thu Feb 19 21:29:30 2009 (r188830) @@ -2219,15 +2219,15 @@ ipfw_chk(struct ip_fw_args *args) * pointer might become stale after other pullups (but we never use it * this way). */ -#define PULLUP_TO(len, p, T) \ +#define PULLUP_TO(_len, p, T) \ do { \ - int x = (len) + sizeof(T); \ + int x = (_len) + sizeof(T); \ if ((m)->m_len < x) { \ args->m = m = m_pullup(m, x); \ if (m == NULL) \ goto pullup_failed; \ } \ - p = (mtod(m, char *) + (len)); \ + p = (mtod(m, char *) + (_len)); \ } while (0) /* @@ -3717,7 +3717,7 @@ zero_entry(struct ip_fw_chain *chain, u_ continue; clear_counters(rule, log_only); } - msg = log_only ? "logging counts reset" : + msg = log_only ? "All logging counts reset" : "Accounting cleared"; } else { int cleared = 0;