mirror of
https://github.com/fluencelabs/redis
synced 2025-06-23 05:51:34 +00:00
Enlarge error buffer in redis-check-aof.c to remove compiler warning of output truncation through snprintf format string
This commit is contained in:
@ -37,7 +37,7 @@
|
||||
snprintf(error, sizeof(error), "0x%16llx: %s", (long long)epos, __buf); \
|
||||
}
|
||||
|
||||
static char error[1024];
|
||||
static char error[1044];
|
||||
static off_t epos;
|
||||
|
||||
int consumeNewline(char *buf) {
|
||||
|
Reference in New Issue
Block a user