vmstat: open file should be closed, not freed

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2012-02-05 22:58:24 +01:00
parent cbb9e54587
commit 30b3c4958c

View File

@ -563,7 +563,7 @@ static void slabformat(void)
}
free(slabs);
}
free(fSlab);
fclose(fSlab);
}
static void disksum_format(void)