]> granicus.if.org Git - procps-ng/commitdiff
top: adapt for changes in item identifiers, <STAT> api
authorJim Warner <james.warner@comcast.net>
Sun, 13 Jan 2019 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@enc.com.au>
Tue, 22 Jan 2019 11:49:24 +0000 (22:49 +1100)
Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c

index efa8d12cf1ca9f9d7bab57343554c35028a1a7d6..73f3a302bc969de2926ee76553f99d366a512eea 100644 (file)
--- 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,