From: Jim Warner Date: Sun, 13 Jan 2019 06:00:00 +0000 (-0600) Subject: top: adapt for changes in item identifiers, api X-Git-Tag: v4.0.0~442 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34ca0a17ec63d9e1593d12022725e80d2cf7a864;p=procps-ng top: adapt for changes in item identifiers, api Signed-off-by: Jim Warner --- 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,