From c0fc0374c54ae5967f12b5ac34ce89a0ca285210 Mon Sep 17 00:00:00 2001 From: Leonardo Alminana Date: Tue, 25 Apr 2023 11:46:47 +0200 Subject: [PATCH] time: fixed printf format string in flb_time_pop_from_mpack Signed-off-by: Leonardo Alminana --- src/flb_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flb_time.c b/src/flb_time.c index 978e79de1cf..51c5a9dd1ce 100644 --- a/src/flb_time.c +++ b/src/flb_time.c @@ -346,7 +346,7 @@ int flb_time_pop_from_mpack(struct flb_time *time, mpack_reader_t *reader) time->tm.tv_nsec = (uint32_t) ntohl(tmp); break; default: - flb_warn("unknown time format %s", tag.type); + flb_warn("unknown time format %d", tag.type); return -1; }