diff options
author | John Baldwin <jhb@FreeBSD.org> | 2007-07-16 18:13:12 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2007-07-16 18:13:12 +0000 |
commit | 55fd53e237087793de39914acf4fd3c801e2cd8c (patch) | |
tree | 8edcb45d123ca2034dafbfd82381c58a1861e541 /usr.bin | |
parent | feda1a4372d5e340da97042375dfb783dea52eda (diff) |
Notes
Diffstat (limited to 'usr.bin')
-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 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); |