summaryrefslogtreecommitdiff
path: root/bdb
diff options
context:
space:
mode:
Diffstat (limited to 'bdb')
-rw-r--r--bdb/os_win32/os_rename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdb/os_win32/os_rename.c b/bdb/os_win32/os_rename.c
index 35b94d9d834..67c3846649b 100644
--- a/bdb/os_win32/os_rename.c
+++ b/bdb/os_win32/os_rename.c
@@ -50,7 +50,7 @@ __os_rename(dbenv, oldname, newname, flags)
LPTSTR FilePath;
if (!GetFullPathName(oldname, sizeof(oldbuf), oldbuf,
&FilePath) ||
- !GetFullPathName(newname, sizeof(newbuf),newdbuf,
+ !GetFullPathName(newname, sizeof(newbuf), newbuf,
&FilePath)) {
ret = __os_win32_errno();
goto done;