summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ohai/plugins/windows/cpu.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ohai/plugins/windows/cpu.rb b/lib/ohai/plugins/windows/cpu.rb
index e3671073..4fb1f4fe 100644
--- a/lib/ohai/plugins/windows/cpu.rb
+++ b/lib/ohai/plugins/windows/cpu.rb
@@ -40,6 +40,7 @@ WMI::Win32_Processor.find(:all).each do |processor|
number_of_cores = processor.numberofcores
cpu_number += number_of_cores
rescue NoMethodError => e
+ Ohai::Log.info("Can not find numberofcores property on Win32_Processor. Consider applying this patch: http://support.microsoft.com/kb/932370")
end
current_cpu = index.to_s