Commit a1fb0be1 authored by Angus Pearson's avatar Angus Pearson
Browse files

Enlarge error buffer in redis-check-aof.c to remove compiler warning of output...

Enlarge error buffer in redis-check-aof.c to remove compiler warning of output truncation through snprintf format string
parent bea09a7f
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
snprintf(error, sizeof(error), "0x%16llx: %s", (long long)epos, __buf); \ snprintf(error, sizeof(error), "0x%16llx: %s", (long long)epos, __buf); \
} }
static char error[1024]; static char error[1044];
static off_t epos; static off_t epos;
int consumeNewline(char *buf) { int consumeNewline(char *buf) {
......
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