summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-04-15 16:58:41 -0700
committerPete Higgins <pete@peterhiggins.org>2020-04-15 16:58:41 -0700
commitf85082c33b8ccf79385dc7dea4f7ca2d55aa4623 (patch)
treede7004ee15ac941c796785fa37d6b525f19ad047
parentaace5bb12a821303badaff1729d77eafc0603684 (diff)
downloadohai-f85082c33b8ccf79385dc7dea4f7ca2d55aa4623.tar.gz
Fix typo in comment.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-rw-r--r--lib/ohai/plugins/windows/dmi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/windows/dmi.rb b/lib/ohai/plugins/windows/dmi.rb
index a4b44d56..6d3637c1 100644
--- a/lib/ohai/plugins/windows/dmi.rb
+++ b/lib/ohai/plugins/windows/dmi.rb
@@ -56,7 +56,7 @@ Ohai.plugin(:DMI) do
# `Ohai::Common::DMI.convenience_keys` expects property names in `dmi`'s
# format, so build two parallel hashes with the keys as they come from the
# Windows API and in a faked-out `dmi` version. After the call to
- # `Ohai::Common::CMI.convenience_keys` replace the faked-out `dmi`
+ # `Ohai::Common::DMI.convenience_keys` replace the faked-out `dmi`
# collection with the one with the original property names.
DMI_TO_WIN32OLE.each do |dmi_key, ole_key|
wmi_objects = wmi.instances_of("Win32_#{ole_key}").map(&:wmi_ole_object)