libmemstat: Catch up with r357776.

Reported by:	O. Hartmann <ohartmann@walstatt.org>
This commit is contained in:
Mark Johnston 2020-02-11 20:15:49 +00:00
parent 4ab3aee8fb
commit 25aa4a3c07
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357777

View File

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