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

14 lines
376 B
Plaintext

$OpenBSD: patch-src_dump_c,v 1.1 2002/02/24 00:48:53 pvalchev Exp $
--- src/dump.c.orig Fri Nov 3 05:39:27 2000
+++ src/dump.c Sat Feb 23 17:40:05 2002
@@ -90,7 +90,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?lf:r:s:")) != -1) {