Current-Users archive

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

Re: Strange error with "netstat -i 1"




On 2022/11/18 23:18, Takahiro Kambe wrote:
> Oh, I just noticed.

Thank you for fixing.

> 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),
> 

-- 
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index