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

14 lines
343 B
Plaintext

$OpenBSD: patch-src_tcpstat_c,v 1.1 2002/02/24 00:48:53 pvalchev Exp $
--- src/tcpstat.c.orig Tue Jan 23 12:17:00 2001
+++ src/tcpstat.c Sat Feb 23 17:39:48 2002
@@ -466,7 +466,8 @@ void error(char *s) {
}
int main(int argc, char **argv) {
- char ch, *filename;
+ char *filename;
+ int ch;
if (getuid() != geteuid())
is_setuid = 1;