summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-07-16 18:13:12 +0000
committerjhb <jhb@FreeBSD.org>2007-07-16 18:13:12 +0000
commita8aa18598ba22101d1f8ce90608ec6077cf0de29 (patch)
tree8edcb45d123ca2034dafbfd82381c58a1861e541 /usr.bin
parent27187e7f6bd04a94e9ada0ca994e7c828abb4514 (diff)
downloadFreeBSD-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')
-rw-r--r--usr.bin/netstat/main.c3
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);
OpenPOWER on IntegriCloud