Fix wrong format specifiers of 'sdscatfmt' for the INFO command (#7706)
unlike printf, sdscatfmt doesn't take %d (cherry picked from commit 48a00e6b99430d493ae8e4daa169f4a9ee9a8fa6)
This commit is contained in:
parent
edcc2032e4
commit
a399ca9bf7
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user