From ba15348b456817cce44214d60bf506d0aeb78ab8 Mon Sep 17 00:00:00 2001 From: rkhapov Date: Tue, 26 Nov 2024 10:53:34 +0000 Subject: [PATCH] sources/err_logger.c: fix typo It's an array of pointers, not plain od_counter_t Signed-off-by: rkhapov --- sources/err_logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/err_logger.c b/sources/err_logger.c index e68f698b..0f51d913 100644 --- a/sources/err_logger.c +++ b/sources/err_logger.c @@ -5,7 +5,7 @@ static size_t err_logger_required_buf_size(int sz) { - return sizeof(od_error_logger_t) + (sz * sizeof(od_counter_t)); + return sizeof(od_error_logger_t) + (sz * sizeof(od_counter_t *)); } od_error_logger_t *od_err_logger_create(size_t intervals_count)