summaryrefslogtreecommitdiff
path: root/usr.sbin/rarpd
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2001-06-16 06:37:04 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2001-06-16 06:37:04 +0000
commitf4d3963efaad877d24e1785ba2a7cbfb9e54b930 (patch)
tree92d125f2a620777fcec0dbabe0e782c6edfb3948 /usr.sbin/rarpd
parent7077bc34aaa89004297ab5dd4f123e5497844447 (diff)
downloadsrc-test2-f4d3963efaad877d24e1785ba2a7cbfb9e54b930.tar.gz
src-test2-f4d3963efaad877d24e1785ba2a7cbfb9e54b930.zip
Notes
Diffstat (limited to 'usr.sbin/rarpd')
-rw-r--r--usr.sbin/rarpd/rarpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c
index b7ed67515506..342ed83110aa 100644
--- a/usr.sbin/rarpd/rarpd.c
+++ b/usr.sbin/rarpd/rarpd.c
@@ -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;
}