diff options
author | Jim Warner <james.warner@comcast.net> | 2017-11-20 00:00:00 -0600 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2017-12-20 21:18:54 +1100 |
commit | 108ac50039e179d0ca0beeb5745e93051544d1e1 (patch) | |
tree | 02590b6fa3d220128a7148da4fe1ea4002cb909b /vmstat.c | |
parent | d53ff45b0d0dfad3443cae2deb36787f36cba822 (diff) | |
download | procps-ng-108ac50039e179d0ca0beeb5745e93051544d1e1.tar.gz |
vmstat: respond to enhanced <slabinfo> parameter check
Signed-off-by: Jim Warner <james.warner@comcast.net>
Diffstat (limited to 'vmstat.c')
-rw-r--r-- | vmstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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[] = { |