Commit 6c23244b authored by williangaspar's avatar williangaspar

inproved checking

parent 1fc0c1f7
......@@ -994,11 +994,7 @@ std::string BPFtrace::lhist_index_label(int number)
std::ostringstream label;
if (number < kilo)
{
label << number;
}
else if (number % mega == 0)
if (number % mega == 0)
{
label << number / mega << 'm';
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment