[Tarantool-patches] [PATCH v3 05/10] xlog: fix say_x format
Cyrill Gorcunov
gorcunov at gmail.com
Tue May 4 18:58:14 MSK 2021
- The string length specificator expects length as
an integer value
- Use matching quoting for key print out
Part-of #5846
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
src/box/xlog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/box/xlog.c b/src/box/xlog.c
index d9e1117e1..7abbb90c5 100644
--- a/src/box/xlog.c
+++ b/src/box/xlog.c
@@ -314,8 +314,8 @@ xlog_meta_parse(struct xlog_meta *meta, const char **data,
/*
* Unknown key
*/
- say_warn("Unknown meta item: `%.*s'", key_end - key,
- key);
+ say_warn("Unknown meta item: '%.*s'",
+ (int)(key_end - key), key);
}
}
*data = end + 1; /* skip the last trailing \n of \n\n sequence */
--
2.30.2
More information about the Tarantool-patches
mailing list