diff options
author | dfr <dfr@FreeBSD.org> | 1998-08-25 07:52:33 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-08-25 07:52:33 +0000 |
commit | 55dcde8578ed5bb4961a0f4e5e5ba72bd3e76615 (patch) | |
tree | d5e0c7a7a3b56f444af01e4523522d7d2f4ed72b /lib/libkvm/kvm_proc.c | |
parent | f7a70d8e02e4cc2427f463fee0e9ebe4bdd5c104 (diff) | |
download | FreeBSD-src-55dcde8578ed5bb4961a0f4e5e5ba72bd3e76615.zip FreeBSD-src-55dcde8578ed5bb4961a0f4e5e5ba72bd3e76615.tar.gz |
The length argument to sysctl is now size_t.
Diffstat (limited to 'lib/libkvm/kvm_proc.c')
-rw-r--r-- | lib/libkvm/kvm_proc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index 674ba28..75bace45 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -280,7 +280,8 @@ kvm_getprocs(kd, op, arg, cnt) int op, arg; int *cnt; { - int mib[4], size, st, nprocs; + int mib[4], st, nprocs; + size_t size; if (kd->procbase != 0) { free((void *)kd->procbase); @@ -592,7 +593,8 @@ proc_verify(kd, kernp, p) const struct proc *p; { struct kinfo_proc kp; - int mib[4], st, len; + int mib[4], st; + size_t len; mib[0] = CTL_KERN; mib[1] = KERN_PROC; |