summaryrefslogtreecommitdiff
path: root/sizes.c
diff options
context:
space:
mode:
Diffstat (limited to 'sizes.c')
-rw-r--r--sizes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sizes.c b/sizes.c
index 459eea7..2847924 100644
--- a/sizes.c
+++ b/sizes.c
@@ -11,7 +11,7 @@ int main(int argc, char **argv) {
display("Slab Stats", sizeof(struct slab_stats));
display("Thread stats",
sizeof(struct thread_stats)
- - (200 * sizeof(struct slab_stats)));
+ - (MAX_NUMBER_OF_SLAB_CLASSES * sizeof(struct slab_stats)));
display("Global stats", sizeof(struct stats));
display("Settings", sizeof(struct settings));
display("Item (no cas)", sizeof(item));