summaryrefslogtreecommitdiff
path: root/src/block/block_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/block_open.c')
-rw-r--r--src/block/block_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/block_open.c b/src/block/block_open.c
index 1a8a4b1beb3..507a70db156 100644
--- a/src/block/block_open.c
+++ b/src/block/block_open.c
@@ -68,10 +68,10 @@ __wt_block_manager_create(
if ((ret = __wt_open(
session, filename, 1, 1, WT_FILE_TYPE_DATA, &fh)) == 0)
break;
- WT_RET_TEST(ret != EEXIST, ret);
+ WT_ERR_TEST(ret != EEXIST, ret);
if (tmp == NULL)
- WT_RET(__wt_scr_alloc(session, 0, &tmp));
+ WT_ERR(__wt_scr_alloc(session, 0, &tmp));
for (suffix = 1;; ++suffix) {
WT_ERR(__wt_buf_fmt(
session, tmp, "%s.%d", filename, suffix));