From: albert <> Date: Tue, 19 Nov 2002 23:40:56 +0000 (+0000) Subject: After 1st row, -a had 2 inact cols. #169774 X-Git-Tag: v3.3.0~366 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d796c16b1b0bac1e33a9109ee92ef0ea5023c3ea;p=procps-ng After 1st row, -a had 2 inact cols. #169774 --- diff --git a/vmstat.c b/vmstat.c index bfef8299..78ebfb0e 100644 --- a/vmstat.c +++ b/vmstat.c @@ -315,7 +315,7 @@ static void new_format(void) { running, blocked, kb_swap_used,kb_main_free, a_option?kb_inactive:kb_main_buffers, - a_option?kb_inactive:kb_main_cached, + a_option?kb_active:kb_main_cached, (unsigned)( ( (pswpin [tog] - pswpin [!tog])*kb_per_page+sleep_half )/sleep_time ), (unsigned)( ( (pswpout[tog] - pswpout[!tog])*kb_per_page+sleep_half )/sleep_time ), (unsigned)( ( pgpgin [tog] - pgpgin [!tog] +sleep_half )/sleep_time ),