summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/recovery
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/recovery')
-rw-r--r--src/third_party/wiredtiger/test/recovery/random-abort.c2
-rw-r--r--src/third_party/wiredtiger/test/recovery/truncated-log.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/test/recovery/random-abort.c b/src/third_party/wiredtiger/test/recovery/random-abort.c
index f9c3ed28814..cd7d1b08708 100644
--- a/src/third_party/wiredtiger/test/recovery/random-abort.c
+++ b/src/third_party/wiredtiger/test/recovery/random-abort.c
@@ -110,7 +110,7 @@ fill_db(void)
/*
* Set to no buffering.
*/
- (void)setvbuf(fp, NULL, _IONBF, 0);
+ __wt_stream_set_no_buffer(fp);
/*
* Write data into the table until we are killed by the parent.
diff --git a/src/third_party/wiredtiger/test/recovery/truncated-log.c b/src/third_party/wiredtiger/test/recovery/truncated-log.c
index 67fdb932c27..e099873e5b9 100644
--- a/src/third_party/wiredtiger/test/recovery/truncated-log.c
+++ b/src/third_party/wiredtiger/test/recovery/truncated-log.c
@@ -107,7 +107,7 @@ fill_db(void)
/*
* Set to no buffering.
*/
- (void)setvbuf(fp, NULL, _IONBF, 0);
+ __wt_stream_set_no_buffer(fp);
save_lsn.l.file = 0;
/*