summaryrefslogtreecommitdiff
path: root/lib/zlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlog.h')
-rw-r--r--lib/zlog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zlog.h b/lib/zlog.h
index dcc0bf14e9..6316a2ad40 100644
--- a/lib/zlog.h
+++ b/lib/zlog.h
@@ -71,8 +71,8 @@ struct xrefdata_logmsg {
* determine whether something is a log message or something else.
*/
-extern void vzlogx(const struct xref_logmsg *xref, int prio,
- const char *fmt, va_list ap);
+extern void vzlogx(const struct xref_logmsg *xref, int prio, const char *fmt,
+ va_list ap) PRINTFRR(3, 0);
#define vzlog(prio, ...) vzlogx(NULL, prio, __VA_ARGS__)
PRINTFRR(2, 3)