diff --git a/src/mt/process-list.cpp b/src/mt/process-list.cpp index 14fa05f63f9db18dc1785bb67fe5d2d893352dfe..8920659b23102a951e4c45b189f723c089c2404f 100644 --- a/src/mt/process-list.cpp +++ b/src/mt/process-list.cpp @@ -86,7 +86,7 @@ void CPUData::ProcessLine(std::istringstream &aCPULine) guest_time_ = lguest_all_time; total_time_ = ltotal_time; - if (total_period_!=0.0) + if (total_period_!=0) { percent_ = (double)(user_mode_period_)/(double)(total_period_) * 100.0; percent_ += (double)( nice_period_)/(double)(total_period_) * 100.0;