summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2009-02-02 17:19:14 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2009-02-02 17:19:14 +0000
commit474de50103057b09f9f16da8bac06b4730f49278 (patch)
tree1856a339568f3efd156a1bb8e30fdd0067b82f7b
parent682fde97c5d9681eb7d9e4b7f296dff843cd8b62 (diff)
Fix typo, from Joao Salvatti <salvatti@gmail.com>.
-rw-r--r--usr.bin/netstat/inet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index 5556843979e..57d462b5058 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet.c,v 1.108 2008/10/14 21:36:27 deraadt Exp $ */
+/* $OpenBSD: inet.c,v 1.109 2009/02/02 17:19:13 mbalmer Exp $ */
/* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */
/*
@@ -411,7 +411,7 @@ ip_stats(char *name)
{
struct ipstat ipstat;
int mib[] = { CTL_NET, AF_INET, IPPROTO_IP, IPCTL_STATS };
- size_t len = sizeof(ipstat);;
+ size_t len = sizeof(ipstat);
if (sysctl(mib, sizeof(mib) / sizeof(mib[0]),
&ipstat, &len, NULL, 0) == -1) {