[Tarantool-patches] [PATCH v3 04/10] box/error: fix argument for CustomError
Cyrill Gorcunov
gorcunov at gmail.com
Tue May 4 18:58:13 MSK 2021
Drop redundant "%s" argument.
Part-of #5846
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
src/box/error.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/box/error.cc b/src/box/error.cc
index f3b4ffe86..225b377b7 100644
--- a/src/box/error.cc
+++ b/src/box/error.cc
@@ -345,7 +345,7 @@ CustomError::CustomError(const char *file, unsigned int line,
void
CustomError::log() const
{
- say_file_line(S_ERROR, file, line, errmsg, "%s",
+ say_file_line(S_ERROR, file, line, errmsg,
"Custom type %s", m_custom_type);
}
--
2.30.2
More information about the Tarantool-patches
mailing list