summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2011-01-12 23:07:51 +0000
committercsjp <csjp@FreeBSD.org>2011-01-12 23:07:51 +0000
commit78edae2a73da135e6e27a4b655c3e03e5d40d1f6 (patch)
tree105c741371f1696e0388df3769c063f0801ec1fa /sys/netinet/if_ether.c
parentf7c9d9193439c42e665cd20094e1678f67af62be (diff)
downloadFreeBSD-src-78edae2a73da135e6e27a4b655c3e03e5d40d1f6.zip
FreeBSD-src-78edae2a73da135e6e27a4b655c3e03e5d40d1f6.tar.gz
Un-break the build: use the correct format specifier for sizeof()
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r--sys/netinet/if_ether.c2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud