summaryrefslogtreecommitdiff
path: root/src/support/filename.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/filename.c')
-rw-r--r--src/support/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/filename.c b/src/support/filename.c
index e565d917853..6d46422c70e 100644
--- a/src/support/filename.c
+++ b/src/support/filename.c
@@ -80,7 +80,7 @@ __wt_sync_and_rename_fh(
/* Flush to disk and close the handle. */
ret = __wt_fsync(session, fh);
- WT_TRET(__wt_close(session, fh));
+ WT_TRET(__wt_close(session, &fh));
WT_RET(ret);
/* Rename the source file to the target. */