From a2c3d69ed4116206ca4fd67133dd52028a5ff29a Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Thu, 9 Mar 2017 23:57:41 +0600 Subject: [PATCH] processes plugin: Fix broken compilation on AIX After a bb0000acfc57e230fc1c26099bc7acb913680f1a an extra pse.cpu_system statement was left in the AIX / elif HAVE_PROCINFO_H section, which caused the compilation to fail. Fixes: #1981 --- src/processes.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/processes.c b/src/processes.c index 86f690f3..87c96c88 100644 --- a/src/processes.c +++ b/src/processes.c @@ -2127,7 +2127,6 @@ static int ps_read(void) { pse.cpu_user_counter = procentry[i].pi_ru.ru_utime.tv_sec * 1000000 + procentry[i].pi_ru.ru_utime.tv_usec / 1000; - pse.cpu_system = 0; /* tv_usec is nanosec ??? */ pse.cpu_system_counter = procentry[i].pi_ru.ru_stime.tv_sec * 1000000 + procentry[i].pi_ru.ru_stime.tv_usec / 1000; -- 2.30.2