summaryrefslogtreecommitdiff
path: root/lib/chef/log/winevt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/log/winevt.rb')
-rw-r--r--lib/chef/log/winevt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/log/winevt.rb b/lib/chef/log/winevt.rb
index 04e24e3913..8411ad8af0 100644
--- a/lib/chef/log/winevt.rb
+++ b/lib/chef/log/winevt.rb
@@ -43,7 +43,7 @@ class Chef
attr_accessor :sync, :formatter, :level
def initialize(eventlog = nil)
- @eventlog = eventlog || ::Win32::EventLog::open("Application")
+ @eventlog = eventlog || ::Win32::EventLog.open("Application")
end
def close