From f6caaa6524342ba734ba8266b5f808d8d1c1e80b Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sat, 10 Apr 2021 21:36:50 +0200 Subject: lib: use fbuf for zlog_msg_ts() Signed-off-by: David Lamparter --- lib/zlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/zlog.h') diff --git a/lib/zlog.h b/lib/zlog.h index b463606d97..452dbcbd0f 100644 --- a/lib/zlog.h +++ b/lib/zlog.h @@ -165,7 +165,7 @@ extern void zlog_msg_args(struct zlog_msg *msg, size_t *hdrlen, /* default is local time zone */ #define ZLOG_TS_UTC (1 << 10) -extern size_t zlog_msg_ts(struct zlog_msg *msg, char *out, size_t outsz, +extern size_t zlog_msg_ts(struct zlog_msg *msg, struct fbuf *out, uint32_t flags); /* This list & struct implements the actual logging targets. It is accessed -- cgit v1.2.3