summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2007-07-16 18:13:12 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2007-07-16 18:13:12 +0000
commit55fd53e237087793de39914acf4fd3c801e2cd8c (patch)
tree8edcb45d123ca2034dafbfd82381c58a1861e541 /usr.bin
parentfeda1a4372d5e340da97042375dfb783dea52eda (diff)
Notes
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 c1decb7e16b36..75edcb0cb67bb 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);