Commit 1b100a16 authored by Wang Yuan's avatar Wang Yuan Committed by Oran Agra
Browse files

Fix wrong format specifiers of 'sdscatfmt' for the INFO command (#7706)

unlike printf, sdscatfmt doesn't take %d

(cherry picked from commit 43af28f5)
parent d4e1c880
......@@ -4137,7 +4137,7 @@ sds genRedisInfoString(const char *section) {
"lru_clock:%u\r\n"
"executable:%s\r\n"
"config_file:%s\r\n"
"io_threads_active:%d\r\n",
"io_threads_active:%i\r\n",
REDIS_VERSION,
redisGitSHA1(),
strtol(redisGitDirty(),NULL,10) > 0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment