summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-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));