mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
Remove a debugging print
This commit is contained in:
parent
8673a84e5f
commit
0fb9a8c389
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user