Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2011 23:07:51 +0000 (UTC)
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217333 - head/sys/netinet
Message-ID:  <201101122307.p0CN7pq3023311@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101122307.p0CN7pq3023311>