From 78edae2a73da135e6e27a4b655c3e03e5d40d1f6 Mon Sep 17 00:00:00 2001 From: csjp Date: Wed, 12 Jan 2011 23:07:51 +0000 Subject: Un-break the build: use the correct format specifier for sizeof() --- sys/netinet/if_ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netinet/if_ether.c') diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 45786a9..39ffe0a 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -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; } -- cgit v1.1