summaryrefslogtreecommitdiff
path: root/src/support/filename.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-04-02 13:06:19 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-04-02 13:06:19 -0400
commitd3dacbffd2a87ea79ec05fa569bdd5d34f90254c (patch)
tree7c7c324ccee91fb31c7aca145ab230aff2e5058e /src/support/filename.c
parenteee8167eb19ca4e9b779b0364bbaef1b920150f8 (diff)
downloadmongo-d3dacbffd2a87ea79ec05fa569bdd5d34f90254c.tar.gz
Make --with-spinlock=pthread_logging option compile again.
Remove the WT_SESSION_IMPL argument to the fprintf, vfprintf, fflush and fclose functions, there are places we want to use it that don't have session handles, and it's not currently needed. Clean up error handling in the vfprintf function.
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 db466ed3bd4..2d284aeb0b0 100644
--- a/src/support/filename.c
+++ b/src/support/filename.c
@@ -104,7 +104,7 @@ __wt_sync_and_rename_fp(
*fpp = NULL;
/* Flush to disk and close the handle. */
- WT_RET(__wt_fclose(session, &fp, WT_FHANDLE_WRITE));
+ WT_RET(__wt_fclose(&fp, WT_FHANDLE_WRITE));
/* Rename the source file to the target. */
WT_RET(__wt_rename(session, from, to));