summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/c.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/c.rb')
-rw-r--r--lib/ohai/plugins/c.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/plugins/c.rb b/lib/ohai/plugins/c.rb
index 690e101c..e3eee7d7 100644
--- a/lib/ohai/plugins/c.rb
+++ b/lib/ohai/plugins/c.rb
@@ -137,7 +137,7 @@ Ohai.plugin(:C) do
logger.trace("Plugin C: 'xlc' binary could not be found. Skipping data.")
end
- def collect_sunpro
+ def collect_sun_pro
# sun pro
collect("cc -V -flags") do |so|
output = so.stderr.split
@@ -173,7 +173,7 @@ Ohai.plugin(:C) do
@c = Mash.new
collect_gcc
collect_glibc
- collect_sunpro
+ collect_sun_pro
languages[:c] = @c unless @c.empty?
end
end