From d0ab431acd417bc19568583f2ac1f56e80c8f057 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Thu, 4 Feb 2010 22:23:43 -0800 Subject: [PATCH] vmstat - increase the maximum number of kmalloc types we can * Increase from 200 to 1024. 200 wasn't enough. --- usr.bin/vmstat/vmstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index d63526aafe..2167cdca92 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -772,7 +772,7 @@ dointr(void) (long long)inttotal, (long long)(inttotal / uptime)); } -#define MAX_KMSTATS 200 +#define MAX_KMSTATS 1024 static long cpuagg(long *ary) -- 2.41.0