Fixed typos in linux/load.cc
This commit is contained in:
parent
ee39fccc65
commit
7151b70c70
@ -36,8 +36,8 @@ std::string load_string( bool use_colors = false ) {
|
|||||||
oss.setf( std::ios::fixed );
|
oss.setf( std::ios::fixed );
|
||||||
oss.precision(2);
|
oss.precision(2);
|
||||||
|
|
||||||
oss << sinfo.loads[0] / f << " " << sinfo.load[1] / f << " "
|
oss << sinfo.loads[0] / f << " " << sinfo.loads[1] / f << " "
|
||||||
<< sinfo.load[2] / f;
|
<< sinfo.loads[2] / f;
|
||||||
|
|
||||||
if( use_colors )
|
if( use_colors )
|
||||||
oss << "#[fg=default,bg=default]";
|
oss << "#[fg=default,bg=default]";
|
||||||
|
Loading…
Reference in New Issue
Block a user