diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2013-06-18 04:50:20 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2013-06-18 04:50:20 +0000 |
| commit | fc03d22b177ff18f9ce8ef220480581fdcadb298 (patch) | |
| tree | 1210fd4bb9351875805216db871e4a8d96ef6da0 /lib | |
| parent | 7ecb40192ed3f0022427ee056f25340c5c420337 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libmemstat/memstat_uma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libmemstat/memstat_uma.c b/lib/libmemstat/memstat_uma.c index 040198c88a8c..b8ff3a1f2c03 100644 --- a/lib/libmemstat/memstat_uma.c +++ b/lib/libmemstat/memstat_uma.c @@ -446,7 +446,7 @@ skip_percpu: kz.uk_ipers; mtp->mt_byteslimit = mtp->mt_countlimit * mtp->mt_size; mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; - for (ubp = LIST_FIRST(&uz.uz_full_bucket); ubp != + for (ubp = LIST_FIRST(&uz.uz_buckets); ubp != NULL; ubp = LIST_NEXT(&ub, ub_link)) { ret = kread(kvm, ubp, &ub, sizeof(ub), 0); mtp->mt_zonefree += ub.ub_cnt; |
