summaryrefslogtreecommitdiff
path: root/sbin/routed/rtquery
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-04-12 15:26:48 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-04-12 15:26:48 +0000
commit77712da42323afdeb719e34c69d44e7ac77c45c0 (patch)
tree2a1333ca2cfe52dd664cce8face7fcec8e76ef3b /sbin/routed/rtquery
parent1bbbd90b0e5d8fb9d46b64112c92fdbfd71a52e8 (diff)
A little bit of cleanup (missing format string arguments, some signed/
unsigned conversion). OK henning
Diffstat (limited to 'sbin/routed/rtquery')
-rw-r--r--sbin/routed/rtquery/rtquery.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/routed/rtquery/rtquery.c b/sbin/routed/rtquery/rtquery.c
index 1d70dfa5b54..8597846a780 100644
--- a/sbin/routed/rtquery/rtquery.c
+++ b/sbin/routed/rtquery/rtquery.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtquery.c,v 1.16 2005/03/23 18:03:52 jmc Exp $ */
+/* $OpenBSD: rtquery.c,v 1.17 2005/04/12 15:26:47 cloder Exp $ */
/*-
* Copyright (c) 1982, 1986, 1993
@@ -37,6 +37,7 @@ char copyright[] =
static char sccsid[] = "@(#)query.c 8.1 (Berkeley) 6/5/93";
#endif
+#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/protosw.h>
#include <sys/socket.h>
@@ -297,7 +298,7 @@ query_loop(char *argv[], int argc)
fd_set bits;
struct timeval now, delay;
struct sockaddr_in from;
- int fromlen;
+ socklen_t fromlen;
OMSG.rip_cmd = (pflag) ? RIPCMD_POLL : RIPCMD_REQUEST;
if (ripv2) {