summaryrefslogtreecommitdiff
path: root/vmstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'vmstat.c')
-rw-r--r--vmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmstat.c b/vmstat.c
index 866724b..802f3ee 100644
--- a/vmstat.c
+++ b/vmstat.c
@@ -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[] = {