summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 51a4e62)
raw | patch | inline | side by side (parent: 51a4e62)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 1 Dec 2014 08:07:30 +0000 (09:07 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 1 Dec 2014 08:07:30 +0000 (09:07 +0100) |
This finishes up the cleanup done by f7100301fa. It also fixes #828
(build error on Mac OS).
Many thanks to @njh for pointing that out !
(build error on Mac OS).
Many thanks to @njh for pointing that out !
src/cpu.c | patch | blob | history |
diff --git a/src/cpu.c b/src/cpu.c
index 1c4e5f6ba47ea4dc50766ccc1100bee629c20a22..6753397c0ca121fdf62c08b37859c0ca71cb6492 100644 (file)
--- a/src/cpu.c
+++ b/src/cpu.c
DEBUG ("host_processors returned %i %s", (int) cpu_list_len, cpu_list_len == 1 ? "processor" : "processors");
INFO ("cpu plugin: Found %i processor%s.", (int) cpu_list_len, cpu_list_len == 1 ? "" : "s");
-
- cpu_temp_retry_max = 86400 / CDTIME_T_TO_TIME_T (plugin_get_interval ());
/* #endif PROCESSOR_CPU_LOAD_INFO */
#elif defined(HAVE_LIBKSTAT)