From bb142f7aa6c098b594f74e2cf408d401e2583a3e Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Thu, 5 Jan 2012 19:39:41 +0100 Subject: [PATCH] slabtop: total slabs & caches header fix Commit 0ac63f5bc173b09fc41fbab8776025d18621b93e messed up header print order; the Total Slabs and Total Caches where reported in place of each other. Signed-off-by: Sami Kerola --- slabtop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slabtop.c b/slabtop.c index b84cda57..e7e7ea8a 100644 --- a/slabtop.c +++ b/slabtop.c @@ -363,11 +363,11 @@ int main(int argc, char *argv[]) stats.nr_active_objs, stats.nr_objs, 100.0 * stats.nr_active_objs / stats.nr_objs, _("Active / Total Slabs (% used)"), - stats.nr_active_caches, stats.nr_caches, - 100.0 * stats.nr_active_caches / stats.nr_caches, - _("Active / Total Caches (% used)"), stats.nr_active_slabs, stats.nr_slabs, 100.0 * stats.nr_active_slabs / stats.nr_slabs, + _("Active / Total Caches (% used)"), + stats.nr_active_caches, stats.nr_caches, + 100.0 * stats.nr_active_caches / stats.nr_caches, _("Active / Total Size (% used)"), stats.active_size / 1024.0, stats.total_size / 1024.0, 100.0 * stats.active_size / stats.total_size,