summaryrefslogtreecommitdiffstats
path: root/openbsd/Platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd/Platform.c')
-rw-r--r--openbsd/Platform.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsd/Platform.c b/openbsd/Platform.c
index 7429e6db..eed1d6cd 100644
--- a/openbsd/Platform.c
+++ b/openbsd/Platform.c
@@ -210,8 +210,7 @@ double Platform_setCPUValues(Meter* this, int cpu) {
size_t size = sizeof(double) * CPUSTATES;
int mib[] = { CTL_KERN, KERN_CPTIME2, cpu-1 };
if (sysctl(mib, 3, new_v, &size, NULL, 0) == -1) {
- puts("err!");
- //return 0.;
+ return 0.;
}
// XXX: why?