summaryrefslogtreecommitdiff
path: root/lib/zlog.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-04-10 21:36:50 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2021-06-18 21:05:21 +0200
commitf6caaa6524342ba734ba8266b5f808d8d1c1e80b (patch)
tree9a9eeb6b936a807008b9aa80d3dc93f35c9da813 /lib/zlog.h
parente3daa82c1897c289384988add6932f74b0de4e9e (diff)
lib: use fbuf for zlog_msg_ts()
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/zlog.h')
-rw-r--r--lib/zlog.h2
1 files changed, 1 insertions, 1 deletions
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