diff options
Diffstat (limited to 'lib/ohai/plugins/c.rb')
-rw-r--r-- | lib/ohai/plugins/c.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ohai/plugins/c.rb b/lib/ohai/plugins/c.rb index 690e101c..fb064e81 100644 --- a/lib/ohai/plugins/c.rb +++ b/lib/ohai/plugins/c.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true # # Author:: Doug MacEachern <dougm@vmware.com> # Copyright:: Copyright (c) 2010 VMware, Inc. @@ -137,7 +138,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 +174,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 |