aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/addr_resolv.c')
-rw-r--r--epan/addr_resolv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c
index 3d5c199b68..3c503d1d74 100644
--- a/epan/addr_resolv.c
+++ b/epan/addr_resolv.c
@@ -1640,7 +1640,7 @@ host_name_lookup_init(void) {
*/
#ifdef WIN32
- sysroot = getenv("WINDIR");
+ sysroot = getenv_utf8("WINDIR");
if (sysroot != NULL) {
/*
* The file should be under WINDIR.