From 9875f8f281abdfddad64755b8d319e888b6f7788 Mon Sep 17 00:00:00 2001 From: Bill Hoffman <bill.hoffman@kitware.com> Date: Thu, 4 Dec 2008 10:51:11 -0500 Subject: [PATCH] BUG: fix cpu info string --- SystemInformation.cxx | 2 +- kwsysDateStamp.cmake | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SystemInformation.cxx b/SystemInformation.cxx index 08a7d17b..ac7b1f26 100644 --- a/SystemInformation.cxx +++ b/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) diff --git a/kwsysDateStamp.cmake b/kwsysDateStamp.cmake index 38b57633..a34677f2 100644 --- a/kwsysDateStamp.cmake +++ b/kwsysDateStamp.cmake @@ -4,7 +4,7 @@ SET(KWSYS_DATE_STAMP_YEAR 2008) # KWSys version date month component. Format is MM. -SET(KWSYS_DATE_STAMP_MONTH 11) +SET(KWSYS_DATE_STAMP_MONTH 12) # KWSys version date day component. Format is DD. -SET(KWSYS_DATE_STAMP_DAY 23) +SET(KWSYS_DATE_STAMP_DAY 04) -- GitLab