svn commit: r217333 - head/sys/netinet

Christian S.J. Peron csjp at FreeBSD.org
Wed Jan 12 23:07:51 UTC 2011


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;
 	}


More information about the svn-src-head mailing list