diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/config/config_check.c')
-rw-r--r-- | src/third_party/wiredtiger/src/config/config_check.c | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/third_party/wiredtiger/src/config/config_check.c b/src/third_party/wiredtiger/src/config/config_check.c index 61582a0c88f..6925eeb41fc 100644 --- a/src/third_party/wiredtiger/src/config/config_check.c +++ b/src/third_party/wiredtiger/src/config/config_check.c @@ -134,15 +134,13 @@ config_check(WT_SESSION_IMPL *session, const WT_CONFIG_CHECK *checks, u_int chec if (WT_STRING_MATCH("min", ck.str, ck.len)) { if (v.val < cv.val) WT_RET_MSG(session, EINVAL, - "Value too small for key '%.*s' " - "the minimum is %.*s", - (int)k.len, k.str, (int)cv.len, cv.str); + "Value too small for key '%.*s' the minimum is %.*s", (int)k.len, k.str, + (int)cv.len, cv.str); } else if (WT_STRING_MATCH("max", ck.str, ck.len)) { if (v.val > cv.val) WT_RET_MSG(session, EINVAL, - "Value too large for key '%.*s' " - "the maximum is %.*s", - (int)k.len, k.str, (int)cv.len, cv.str); + "Value too large for key '%.*s' the maximum is %.*s", (int)k.len, k.str, + (int)cv.len, cv.str); } else if (WT_STRING_MATCH("choices", ck.str, ck.len)) { if (v.len == 0) WT_RET_MSG(session, EINVAL, "Key '%.*s' requires a value", (int)k.len, k.str); @@ -165,13 +163,10 @@ config_check(WT_SESSION_IMPL *session, const WT_CONFIG_CHECK *checks, u_int chec return (ret); if (!found) WT_RET_MSG(session, EINVAL, - "Value '%.*s' not a " - "permitted choice for key '%.*s'", - (int)v.len, v.str, (int)k.len, k.str); + "Value '%.*s' not a permitted choice for key '%.*s'", (int)v.len, v.str, + (int)k.len, k.str); } else - WT_RET_MSG(session, EINVAL, - "unexpected configuration description " - "keyword %.*s", + WT_RET_MSG(session, EINVAL, "unexpected configuration description keyword %.*s", (int)ck.len, ck.str); } } |