Undo last braino and fix properly.

This commit is contained in:
Jonathan Lemon 2001-06-16 06:40:03 +00:00
parent f4d3963efa
commit 818b5b7658
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78338

View File

@ -485,8 +485,8 @@ rarp_check(u_char *p, u_int len)
struct ether_arp *ap = (struct ether_arp *)(p + sizeof(*ep));
if (len < sizeof(*ep) + sizeof(*ap)) {
syslog(LOG_ERR, "truncated request, got %u, expected %d",
len, sizeof(*ep) + sizeof(*ap));
syslog(LOG_ERR, "truncated request, got %d, expected %d",
len, (int)(sizeof(*ep) + sizeof(*ap)));
return 0;
}
/*