diff options
author | jhb <jhb@FreeBSD.org> | 2007-07-16 18:13:12 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-07-16 18:13:12 +0000 |
commit | a8aa18598ba22101d1f8ce90608ec6077cf0de29 (patch) | |
tree | 8edcb45d123ca2034dafbfd82381c58a1861e541 /usr.bin/netstat | |
parent | 27187e7f6bd04a94e9ada0ca994e7c828abb4514 (diff) | |
download | FreeBSD-src-a8aa18598ba22101d1f8ce90608ec6077cf0de29.zip FreeBSD-src-a8aa18598ba22101d1f8ce90608ec6077cf0de29.tar.gz |
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)
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r-- | usr.bin/netstat/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index c1decb7..75edcb0 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -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); |