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 <ohartm...@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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to