git: vmstat - Fix vmstat -m output

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 6 10:10:20 PST 2020


commit 4d18c287145cf3b904a392590e2cedce35bf5b56
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 6 10:05:35 2020 -0800

    vmstat - Fix vmstat -m output
    
    * The malloc_type structure's ks_use field is now a pointer
      to a dynamically malloc()d array of ncpus, instead of a fixed
      array of SMP_MAXCPU.
    
    * Fixes segfault for vmstat -m output.

Summary of changes:
 usr.bin/vmstat/vmstat.c | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4d18c287145cf3b904a392590e2cedce35bf5b56


-- 
DragonFly BSD source repository


More information about the Commits mailing list