mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 09:17:20 +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:
parent
bea09a7fa6
commit
a1fb0be1d7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user