summaryrefslogtreecommitdiffstats
path: root/openbsd
diff options
context:
space:
mode:
authorMichael McConville <mmcconville@mykolab.com>2015-11-01 13:19:01 -0500
committerMichael McConville <mmcconville@mykolab.com>2015-11-01 13:19:01 -0500
commit0fb9a8c3892b125f28da5b7797dfb2ced323cf9f (patch)
tree6753672bbcd811a43958baf9bc34ec63de3e01c4 /openbsd
parent8673a84e5fe57ba6bc0405bbcbf1a57cc5d66aa8 (diff)
Remove a debugging print
Diffstat (limited to 'openbsd')
-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?

© 2014-2024 Faster IT GmbH | imprint | privacy policy