svn commit: r357494 - head/lib/libmemstat

Jeff Roberson jeff at FreeBSD.org
Tue Feb 4 05:27:46 UTC 2020


Author: jeff
Date: Tue Feb  4 05:27:45 2020
New Revision: 357494
URL: https://svnweb.freebsd.org/changeset/base/357494

Log:
  Fix libmemstat_uma build after r357485.
  
  Submitted by:	cy

Modified:
  head/lib/libmemstat/memstat_uma.c

Modified: head/lib/libmemstat/memstat_uma.c
==============================================================================
--- head/lib/libmemstat/memstat_uma.c	Tue Feb  4 05:27:05 2020	(r357493)
+++ head/lib/libmemstat/memstat_uma.c	Tue Feb  4 05:27:45 2020	(r357494)
@@ -459,9 +459,9 @@ skip_percpu:
 				if (ret != 0)
 					continue;
 				for (ubp =
-				    TAILQ_FIRST(&uzd.uzd_buckets);
+				    STAILQ_FIRST(&uzd.uzd_buckets);
 				    ubp != NULL;
-				    ubp = TAILQ_NEXT(&ub, ub_link)) {
+				    ubp = STAILQ_NEXT(&ub, ub_link)) {
 					ret = kread(kvm, ubp, &ub,
 					   sizeof(ub), 0);
 					if (ret != 0)


More information about the svn-src-head mailing list