Un-break the build: use the correct format specifier for sizeof()

This commit is contained in:
Christian S.J. Peron 2011-01-12 23:07:51 +00:00
parent 374a993a88
commit 9844b02935
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217333

View File

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