From 34ca0a17ec63d9e1593d12022725e80d2cf7a864 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Sun, 13 Jan 2019 00:00:00 -0600 Subject: [PATCH] top: adapt for changes in item identifiers, api Signed-off-by: Jim Warner --- top/top.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/top/top.c b/top/top.c index efa8d12c..73f3a302 100644 --- a/top/top.c +++ b/top/top.c @@ -227,8 +227,8 @@ static enum stat_item Stat_items[] = { STAT_TIC_DELTA_NICE, STAT_TIC_DELTA_IDLE, STAT_TIC_DELTA_IOWAIT, STAT_TIC_DELTA_IRQ, STAT_TIC_DELTA_SOFTIRQ, STAT_TIC_DELTA_STOLEN, - STAT_TIC_DELTA_SUM_USER, STAT_TIC_DELTA_SUM_SYSTEM, - STAT_TIC_DELTA_SUM_TOTAL }; + STAT_TIC_SUM_DELTA_USER, STAT_TIC_SUM_DELTA_SYSTEM, + STAT_TIC_SUM_DELTA_TOTAL }; enum Rel_statitems { stat_ID, stat_NU, stat_US, stat_SY,