summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 51d2997)
raw | patch | inline | side by side (parent: 51d2997)
author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Thu, 9 Mar 2017 17:57:41 +0000 (23:57 +0600) | ||
committer | Pavel Rochnyack <pavel2000@ngs.ru> | |
Thu, 9 Mar 2017 18:06:11 +0000 (00:06 +0600) |
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
statement was left in the AIX / elif HAVE_PROCINFO_H section, which caused
the compilation to fail.
Fixes: #1981
src/processes.c | patch | blob | history |
diff --git a/src/processes.c b/src/processes.c
index 86f690f3e85f2206bf4cc7505e5c6afdccf4d37d..87c96c880b214123fb020e4b11d95bc233bec358 100644 (file)
--- a/src/processes.c
+++ b/src/processes.c
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;