mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
BUG: fix cpu info string
This commit is contained in:
@@ -2897,7 +2897,7 @@ kwsys_stl::string SystemInformationImplementation::ParseValueFromKStat(const cha
|
||||
bool SystemInformationImplementation::QuerySolarisInfo()
|
||||
{
|
||||
// Parse values
|
||||
this->NumberOfPhysicalCPU = atoi(this->ParseValueFromKStat("-n systethis->misc -s ncpus").c_str());
|
||||
this->NumberOfPhysicalCPU = atoi(this->ParseValueFromKStat("-n syste_misc -s ncpus").c_str());
|
||||
this->NumberOfLogicalCPU = this->NumberOfPhysicalCPU;
|
||||
|
||||
if(this->NumberOfPhysicalCPU!=0)
|
||||
|
||||
Reference in New Issue
Block a user