summaryrefslogtreecommitdiff
path: root/lib/zlog.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2023-01-31 21:58:41 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2023-02-01 03:00:18 +0100
commitc695bdbedb9b377755bc4fd7ca5215e8f9ba9758 (patch)
tree6e4a3dccff90211e8ce6c29963aa3a2b4b072855 /lib/zlog.h
parentaa16204dfbff980a345dabef38ecf9d368b03879 (diff)
lib: apply more `printf` attributes
... missed some functions in the earlier commits :( Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
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)