summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-23 06:44:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-23 06:44:44 +0000
commitd503d6c7ae4151d7be878f817e9b5ab44a242ee9 (patch)
treeb7096da81e5a301f4296c15739db5821f99a6766
parentf5b96e594c769cf309b70fd7736caaf90372a3b6 (diff)
win32.c: fix DLL name
* win32/win32.c (winnt_stat): fix DLL name to "kernel32". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index a8ef299cc5..73fd477edf 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -5094,7 +5094,7 @@ winnt_stat(const WCHAR *path, struct stati64 *st)
if (get_final_path == (get_final_path_func)-1) {
get_final_path = (get_final_path_func)
- get_proc_address(NULL, "GetFinalPathNameByHandleW", NULL);
+ get_proc_address("kernel32", "GetFinalPathNameByHandleW", NULL);
}
memset(st, 0, sizeof(*st));