diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-12-04 15:51:11 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-12-04 15:51:11 (GMT) |
commit | 7c2445212ebfeac4f4c6408a809c77024982f715 (patch) | |
tree | 4504365e31bc508201f81216148ffca2af8dc33d /Source/kwsys/SystemInformation.cxx | |
parent | 24bff45d1bd87f86d442157170ea8c987236318c (diff) | |
download | CMake-7c2445212ebfeac4f4c6408a809c77024982f715.zip CMake-7c2445212ebfeac4f4c6408a809c77024982f715.tar.gz CMake-7c2445212ebfeac4f4c6408a809c77024982f715.tar.bz2 |
BUG: fix cpu info string
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r-- | Source/kwsys/SystemInformation.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx index 322424a..4b4c690 100644 --- a/Source/kwsys/SystemInformation.cxx +++ b/Source/kwsys/SystemInformation.cxx @@ -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) |