summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7c0bcfb)
raw | patch | inline | side by side (parent: 7c0bcfb)
author | Florian Forster <octo@huhu.verplant.org> | |
Fri, 20 Apr 2007 06:15:47 +0000 (08:15 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Fri, 20 Apr 2007 06:15:47 +0000 (08:15 +0200) |
src/cpu.c | patch | blob | history |
diff --git a/src/cpu.c b/src/cpu.c
index 2a1c53a55ffd67e9793c517d6d4186897cff6251..d774ca4e764eaf1b2412c22eb77a8e999a7d6384 100644 (file)
--- a/src/cpu.c
+++ b/src/cpu.c
plugin_complain (LOG_ERR, &complain_obj, "cpu plugin: "
"sysctlbyname failed: %s.",
sstrerror (errno, errbuf, sizeof (errbuf)));
- return;
+ return (-1);
}
plugin_relief (LOG_NOTICE, &complain_obj, "cpu plugin: "