summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-11-08 00:23:06 +0000
committerpeter <peter@FreeBSD.org>2001-11-08 00:23:06 +0000
commita917feaccead45d25d6279ee2898e1864b159d55 (patch)
tree9397674f5eea58965d2af1ad7b435aefba88f388 /lib
parent7994503f087e7900a1976a511fd3ea8125f07f42 (diff)
downloadFreeBSD-src-a917feaccead45d25d6279ee2898e1864b159d55.zip
FreeBSD-src-a917feaccead45d25d6279ee2898e1864b159d55.tar.gz
kern.ps_arg_max_cache is a long, not an int. I believe this is half of
what broke ps on ia64. It probably also broke on alpha, but the fallback method of using lseek/read on /proc/*/mem to read ps_strings seems to work there. It doesn't on ia64 yet.
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm/kvm_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c
index 990f856..e16173f 100644
--- a/lib/libkvm/kvm_proc.c
+++ b/lib/libkvm/kvm_proc.c
@@ -762,7 +762,7 @@ kvm_getargv(kd, kp, nchr)
int oid[4];
int i;
size_t bufsz;
- static int buflen;
+ static unsigned long buflen;
static char *buf, *p;
static char **bufp;
static int argc;
OpenPOWER on IntegriCloud