summaryrefslogtreecommitdiff
path: root/src/os_win/os_dlopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_win/os_dlopen.c')
-rw-r--r--src/os_win/os_dlopen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os_win/os_dlopen.c b/src/os_win/os_dlopen.c
index ce949e4ea5f..9289c8f6488 100644
--- a/src/os_win/os_dlopen.c
+++ b/src/os_win/os_dlopen.c
@@ -20,6 +20,7 @@ __wt_dlopen(WT_SESSION_IMPL *session, const char *path, WT_DLH **dlhp)
WT_RET(__wt_calloc_one(session, &dlh));
WT_ERR(__wt_strdup(session, path, &dlh->name));
+ WT_ERR(__wt_strdup(session, path == NULL ? "local" : path, &dlh->name));
/* NULL means load from the current binary */
if (path == NULL) {