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.
This commit is contained in:
Peter Wemm 2001-11-08 00:23:06 +00:00
parent c222b1694b
commit 15d2f5f04f
1 changed files with 1 additions and 1 deletions

View File

@ -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;