mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355502
@ -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