Fix a type error in fixing libprocstat to be compatible with vm_map changes.
Approved by: markj Differential Revision: https://reviews.freebsd.org/D22726
This commit is contained in:
parent
99b1d4c1e7
commit
7c065540fd
@ -619,7 +619,7 @@ procstat_getfiles_kvm(struct procstat *procstat, struct kinfo_proc *kp, int mmap
|
||||
|
||||
for (entryp = vm_map_entry_first(map);
|
||||
entryp != &kp->ki_vmspace->vm_map.header;
|
||||
entryp = vm_map_entry_succ(vmentry)) {
|
||||
entryp = vm_map_entry_succ(&vmentry)) {
|
||||
if (!kvm_read_all(kd, (unsigned long)entryp, &vmentry,
|
||||
sizeof(vmentry))) {
|
||||
warnx("can't read vm_map_entry at %p",
|
||||
|
Loading…
Reference in New Issue
Block a user