summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-12-04 15:51:11 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-12-04 15:51:11 (GMT)
commit7c2445212ebfeac4f4c6408a809c77024982f715 (patch)
tree4504365e31bc508201f81216148ffca2af8dc33d
parent24bff45d1bd87f86d442157170ea8c987236318c (diff)
downloadCMake-7c2445212ebfeac4f4c6408a809c77024982f715.zip
CMake-7c2445212ebfeac4f4c6408a809c77024982f715.tar.gz
CMake-7c2445212ebfeac4f4c6408a809c77024982f715.tar.bz2
BUG: fix cpu info string
-rw-r--r--Source/kwsys/SystemInformation.cxx2
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)