From 2c3b251b116ce8094fbd19c88941914bb9e2745a Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Mon, 23 Aug 2021 00:00:00 -0500 Subject: [PATCH] top: reposition call to cpus_refresh() for consistency Signed-off-by: Jim Warner --- top/top.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/top/top.c b/top/top.c index 9762e092..a8a82c9e 100644 --- a/top/top.c +++ b/top/top.c @@ -6037,8 +6037,6 @@ static void summary_show (void) { , Frame_stopped, Frame_zombied)); Msg_row += 1; - cpus_refresh(); - if (CHKw(w, View_CPUNOD)) { if (Numa_node_sel < 0) { // display the 1st /proc/stat line, then the nodes (if room) @@ -6687,6 +6685,7 @@ static void frame_make (void) { sysinfo_refresh(0); procs_refresh(); + cpus_refresh(); Tree_idx = Pseudo_row = Msg_row = scrlins = 0; summary_show();