summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-04-19 19:10:23 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-04-19 19:10:23 +0000
commit58e0c1f582fe11183ae7a501eeafbd1fe9c24cc1 (patch)
tree0447d8052e8fde001aced731c73280a74b50c329 /usr.sbin
parentfad3b009df9fdd74b726fd75514c8c8f665f137f (diff)
thorpej:
getopt() returns an int, not a char.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ipftest/ipt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ipftest/ipt.c b/usr.sbin/ipftest/ipt.c
index f5a2fec52f4..6f1ec19f6c6 100644
--- a/usr.sbin/ipftest/ipt.c
+++ b/usr.sbin/ipftest/ipt.c
@@ -41,7 +41,7 @@
#if !defined(lint) && defined(LIBC_SCCS)
static char sccsid[] = "@(#)ipt.c 1.19 6/3/96 (C) 1993-1996 Darren Reed";
-static char rcsid[] = "$Id: ipt.c,v 1.8 1997/02/11 22:23:58 kstailey Exp $";
+static char rcsid[] = "$Id: ipt.c,v 1.9 1997/04/19 19:10:22 kstailey Exp $";
#endif
extern int fr_check();
@@ -62,7 +62,7 @@ char *argv[];
struct frentry *f;
struct ip *ip;
u_long buf[64];
- char c;
+ int c;
char *rules = NULL, *datain = NULL, *iface = NULL;
int fd, i, dir = 0;