libmemstat: Catch up with r357776.
Reported by: O. Hartmann <ohartmann@walstatt.org>
This commit is contained in:
parent
4ab3aee8fb
commit
25aa4a3c07
@ -476,7 +476,7 @@ memstat_kvm_uma(struct memory_type_list *list, void *kvm_handle)
|
||||
ret = kread(kvm, &kzp->uk_domain[i],
|
||||
&ukd, sizeof(ukd), 0);
|
||||
if (ret != 0)
|
||||
kegfree += ukd.ud_free;
|
||||
kegfree += ukd.ud_free_items;
|
||||
}
|
||||
mtp->mt_kegfree = kegfree;
|
||||
mtp->mt_free += mtp->mt_kegfree;
|
||||
|
Loading…
Reference in New Issue
Block a user