diff options
author | jlemon <jlemon@FreeBSD.org> | 2001-06-16 06:40:03 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2001-06-16 06:40:03 +0000 |
commit | f9ea867f51ef83d98cdfad914df6dcc74549b593 (patch) | |
tree | 41b6896e556f43d019e06f521f21ad4369b79cbe /usr.sbin | |
parent | 8c2479e85193ee9adf23f54d96bba1a9354dd0d5 (diff) | |
download | FreeBSD-src-f9ea867f51ef83d98cdfad914df6dcc74549b593.zip FreeBSD-src-f9ea867f51ef83d98cdfad914df6dcc74549b593.tar.gz |
Undo last braino and fix properly.
Diffstat (limited to 'usr.sbin')
-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 342ed83..430241e 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; } /* |