vmstat: respond to enhanced <slabinfo> parameter check

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2017-11-20 00:00:00 -06:00 committed by Craig Small
parent d53ff45b0d
commit 108ac50039

View File

@ -697,7 +697,7 @@ static void slabformat (void)
{
#define MAX_ITEMS (int)(sizeof(node_items) / sizeof(node_items[0]))
#define slabVAL(e,t) SLABINFO_VAL(e, t, p, slab_info)
struct slabinfo_info *slab_info;
struct slabinfo_info *slab_info = NULL;
struct slabinfo_reap *reaped;
int i, j;
enum slabinfo_item node_items[] = {