diff options
author | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-06-16 06:40:03 +0000 |
---|---|---|
committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-06-16 06:40:03 +0000 |
commit | 818b5b7658a2ae1de6b093452e26896cd7a99551 (patch) | |
tree | 41b6896e556f43d019e06f521f21ad4369b79cbe | |
parent | f4d3963efaad877d24e1785ba2a7cbfb9e54b930 (diff) | |
download | src-test2-818b5b7658a2ae1de6b093452e26896cd7a99551.tar.gz src-test2-818b5b7658a2ae1de6b093452e26896cd7a99551.zip |
Notes
-rw-r--r-- | usr.sbin/rarpd/rarpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c index 342ed83110aa..430241e572a3 100644 --- a/usr.sbin/rarpd/rarpd.c +++ b/usr.sbin/rarpd/rarpd.c @@ -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; } /* |