svn commit: r357777 - head/lib/libmemstat

Mark Johnston markj at FreeBSD.org
Tue Feb 11 20:15:49 UTC 2020


Author: markj
Date: Tue Feb 11 20:15:49 2020
New Revision: 357777
URL: https://svnweb.freebsd.org/changeset/base/357777

Log:
  libmemstat: Catch up with r357776.
  
  Reported by:	O. Hartmann <ohartmann at walstatt.org>

Modified:
  head/lib/libmemstat/memstat_uma.c

Modified: head/lib/libmemstat/memstat_uma.c
==============================================================================
--- head/lib/libmemstat/memstat_uma.c	Tue Feb 11 20:06:33 2020	(r357776)
+++ head/lib/libmemstat/memstat_uma.c	Tue Feb 11 20:15:49 2020	(r357777)
@@ -476,7 +476,7 @@ skip_percpu:
 					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;


More information about the svn-src-all mailing list