diff --git a/linux/load.cc b/linux/load.cc index 61a779a..4a7443f 100644 --- a/linux/load.cc +++ b/linux/load.cc @@ -36,8 +36,8 @@ std::string load_string( bool use_colors = false ) { oss.setf( std::ios::fixed ); oss.precision(2); - oss << sinfo.loads[0] / f << " " << sinfo.load[1] / f << " " - << sinfo.load[2] / f; + oss << sinfo.loads[0] / f << " " << sinfo.loads[1] / f << " " + << sinfo.loads[2] / f; if( use_colors ) oss << "#[fg=default,bg=default]";