mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-12-18 18:44:53 +00:00
Don't confuse 2 ^ n with 1 << n in debugging output.
This commit is contained in:
parent
2ba5067496
commit
c6158a8dbf
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ t_malloc_printstats(FILE *f)
|
||||||
for (shift = BUCKET_MIN_SHIFT; shift <= BUCKET_MAX_SHIFT; ++shift) {
|
for (shift = BUCKET_MIN_SHIFT; shift <= BUCKET_MAX_SHIFT; ++shift) {
|
||||||
b = &buckets[shift];
|
b = &buckets[shift];
|
||||||
if (b->nalloc > 0)
|
if (b->nalloc > 0)
|
||||||
fprintf(f, " 1^%-3u %9lu %9lu %9lu\n",
|
fprintf(f, " 2^%-3u %9lu %9lu %9lu\n",
|
||||||
shift, b->nalloc, b->nfree,
|
shift, b->nalloc, b->nfree,
|
||||||
b->nalloc - b->nfree);
|
b->nalloc - b->nfree);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue