diff options
author | csjp <csjp@FreeBSD.org> | 2011-01-12 23:07:51 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2011-01-12 23:07:51 +0000 |
commit | 78edae2a73da135e6e27a4b655c3e03e5d40d1f6 (patch) | |
tree | 105c741371f1696e0388df3769c063f0801ec1fa | |
parent | f7c9d9193439c42e665cd20094e1678f67af62be (diff) | |
download | FreeBSD-src-78edae2a73da135e6e27a4b655c3e03e5d40d1f6.zip FreeBSD-src-78edae2a73da135e6e27a4b655c3e03e5d40d1f6.tar.gz |
Un-break the build: use the correct format specifier for sizeof()
-rw-r--r-- | sys/netinet/if_ether.c | 2 |
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; } |