openbsd-ports/net/tcpstat/patches/patch-src_catpcap_c
2002-02-24 00:48:53 +00:00

14 lines
384 B
Plaintext

$OpenBSD: patch-src_catpcap_c,v 1.1 2002/02/24 00:48:53 pvalchev Exp $
--- src/catpcap.c.orig Fri Nov 3 05:39:27 2000
+++ src/catpcap.c Sat Feb 23 17:40:17 2002
@@ -145,7 +145,8 @@ void error(char *s) {
}
int main(int argc, char **argv) {
- char ch, filename[BUF_SIZ];
+ char filename[BUF_SIZ];
+ int ch;
*filename = 0;
while ( (ch = getopt(argc, argv, "h?f:r:")) != -1) {