From faea95fbfa7f3f48713018d9360978a70fd9924e Mon Sep 17 00:00:00 2001 From: Alberto Fanjul Date: Sat, 13 Jul 2024 19:10:37 +0200 Subject: [PATCH] resize output buffer --- src/ctl/ctl-cli.c | 2 +- src/shared/shl_log.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ctl/ctl-cli.c b/src/ctl/ctl-cli.c index b66dd6e..51136fd 100644 --- a/src/ctl/ctl-cli.c +++ b/src/ctl/ctl-cli.c @@ -94,7 +94,7 @@ void cli_printf_time_prefix(const char *fmt, va_list args) struct tm *timeinfo; struct timeval tv; char buffertmp[80]; - char buffer[80]; + char buffer[120]; int millisec; diff --git a/src/shared/shl_log.c b/src/shared/shl_log.c index eb55501..feb49b4 100644 --- a/src/shared/shl_log.c +++ b/src/shared/shl_log.c @@ -145,7 +145,7 @@ static void log__submit(const char *file, struct tm *timeinfo; struct timeval tv; char buffertmp[80]; - char buffer[80]; + char buffer[120]; int millisec; out = stderr;