aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index 77eadaa4e..ac6bbfa79 100644
--- a/src/log.c
+++ b/src/log.c
@@ -68,7 +68,7 @@ static const char *log_date(void)
#define BUFFER_LENGTH 4096
static void buffer_warning(const char *fmt, va_list args)
{
- char buffer[BUFFER_LENGTH + 1];
+ char buffer[BUFFER_LENGTH];
char *tmp = buffer;
size_t len = BUFFER_LENGTH;