Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Strange error with "netstat -i 1"



Oh, I just noticed.

diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index e33f84f324..b02df5fc3b 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -176,7 +176,7 @@ if_data_ext_get(const char *ifname, struct if_data_ext *dext)
 {
 	char namebuf[1024];
 	size_t len;
-	int drops;
+	int64_t drops;
 
 	/* For sysctl */
 	snprintf(namebuf, sizeof(namebuf),

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index