summaryrefslogtreecommitdiff
path: root/src/support/err.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-05-05 15:38:12 +1000
committerMichael Cahill <michael.cahill@mongodb.com>2016-05-05 15:38:12 +1000
commit636a7b25ef3eca6b98009330f4d35337d4f35717 (patch)
tree7cc2e03ad96e206cbe73343feef10197023a37da /src/support/err.c
parenteaa7b5f0fcc62f356c33a2c56f45b609a73ca5dd (diff)
parent75c22bc0c662622c14e5c47d99ff262cede2c6bf (diff)
downloadmongodb-3.3.6.tar.gz
Merge branch 'develop' into mongodb-3.4mongodb-3.3.6
Diffstat (limited to 'src/support/err.c')
-rw-r--r--src/support/err.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/support/err.c b/src/support/err.c
index f64492f1561..815b79c16db 100644
--- a/src/support/err.c
+++ b/src/support/err.c
@@ -24,7 +24,7 @@ __handle_error_default(WT_EVENT_HANDLER *handler,
session = (WT_SESSION_IMPL *)wt_session;
WT_RET(__wt_fprintf(session, WT_STDERR(session), "%s\n", errmsg));
- WT_RET(__wt_fsync(session, WT_STDERR(session), true));
+ WT_RET(__wt_fflush(session, WT_STDERR(session)));
return (0);
}
@@ -42,7 +42,7 @@ __handle_message_default(WT_EVENT_HANDLER *handler,
session = (WT_SESSION_IMPL *)wt_session;
WT_RET(__wt_fprintf(session, WT_STDOUT(session), "%s\n", message));
- WT_RET(__wt_fsync(session, WT_STDOUT(session), true));
+ WT_RET(__wt_fflush(session, WT_STDOUT(session)));
return (0);
}