summaryrefslogtreecommitdiff
path: root/lib/chef/win32/error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/win32/error.rb')
-rw-r--r--lib/chef/win32/error.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/win32/error.rb b/lib/chef/win32/error.rb
index 716ca99d01..2175608eeb 100644
--- a/lib/chef/win32/error.rb
+++ b/lib/chef/win32/error.rb
@@ -47,7 +47,7 @@ class Chef
end
def self.get_last_error
- GetLastError()
+ FFI::LastError.error
end
# Raises the last error. This should only be called by