From f4d3963efaad877d24e1785ba2a7cbfb9e54b930 Mon Sep 17 00:00:00 2001 From: Jonathan Lemon Date: Sat, 16 Jun 2001 06:37:04 +0000 Subject: [PATCH] Fix warning: 489: warning: int format, different type arg (arg 4) --- usr.sbin/rarpd/rarpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }