Fix libmemstat_uma build after r357485.
Submitted by: cy
This commit is contained in:
parent
965d75c8d2
commit
64902f3fb7
@ -459,9 +459,9 @@ memstat_kvm_uma(struct memory_type_list *list, void *kvm_handle)
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user