From owner-svn-src-all@FreeBSD.ORG Wed Jan 12 23:07:51 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5997D1065674; Wed, 12 Jan 2011 23:07:51 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 497F58FC1D; Wed, 12 Jan 2011 23:07:51 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p0CN7pDi023313; Wed, 12 Jan 2011 23:07:51 GMT (envelope-from csjp@svn.freebsd.org) Received: (from csjp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p0CN7pq3023311; Wed, 12 Jan 2011 23:07:51 GMT (envelope-from csjp@svn.freebsd.org) Message-Id: <201101122307.p0CN7pq3023311@svn.freebsd.org> From: "Christian S.J. Peron" Date: Wed, 12 Jan 2011 23:07:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r217333 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2011 23:07:51 -0000 Author: csjp Date: Wed Jan 12 23:07:51 2011 New Revision: 217333 URL: http://svn.freebsd.org/changeset/base/217333 Log: Un-break the build: use the correct format specifier for sizeof() Modified: head/sys/netinet/if_ether.c Modified: head/sys/netinet/if_ether.c ============================================================================== --- head/sys/netinet/if_ether.c Wed Jan 12 23:06:38 2011 (r217332) +++ head/sys/netinet/if_ether.c Wed Jan 12 23:07:51 2011 (r217333) @@ -536,7 +536,7 @@ in_arpinput(struct mbuf *m) * a protocol length not equal to an IPv4 address. */ if (ah->ar_pln != sizeof(struct in_addr)) { - log(LOG_ERR, "in_arp: requested protocol length != %ld\n", + log(LOG_ERR, "in_arp: requested protocol length != %zu\n", sizeof(struct in_addr)); return; }