projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'collectd-3.11' into collectd-4.0
[collectd.git]
/
src
/
cpu.c
diff --git
a/src/cpu.c
b/src/cpu.c
index
4c852a5
..
cbdde1e
100644
(file)
--- a/
src/cpu.c
+++ b/
src/cpu.c
@@
-340,7
+340,7
@@
static int cpu_read (void)
static cpu_stat_t cs;
if (kc == NULL)
- return;
+ return
(-1)
;
for (cpu = 0; cpu < numcpu; cpu++)
{