Fix warning:
489: warning: int format, different type arg (arg 4)
This commit is contained in:
parent
9b40d4fdc2
commit
8c2479e851
@ -485,7 +485,7 @@ 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 %d, expected %d",
|
||||
syslog(LOG_ERR, "truncated request, got %u, expected %d",
|
||||
len, sizeof(*ep) + sizeof(*ap));
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user