mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
Bah, fix a cosmetic nit and remove a debugging aid missed in the previous
fixes for netstat -M. Pointy hat to: jhb Approved by: re (kensmith)
This commit is contained in:
parent
feda1a4372
commit
55fd53e237
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171466
@ -193,7 +193,7 @@ struct protox {
|
||||
/* statistics printing routine */
|
||||
void (*pr_istats)(char *); /* per/if statistics printing routine */
|
||||
const char *pr_name; /* well-known name */
|
||||
u_long pr_usesysctl; /* non-zero if we use sysctl, not kvm */
|
||||
int pr_usesysctl; /* non-zero if we use sysctl, not kvm */
|
||||
int pr_protocol;
|
||||
} protox[] = {
|
||||
{ N_TCBINFO, N_TCPSTAT, 1, protopr,
|
||||
@ -688,7 +688,6 @@ kread(u_long addr, void *buf, size_t size)
|
||||
return (0);
|
||||
if (kvm_read(kvmd, addr, buf, size) != (ssize_t)size) {
|
||||
warnx("%s", kvm_geterr(kvmd));
|
||||
abort();
|
||||
return (-1);
|
||||
}
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user