summaryrefslogtreecommitdiffstats
path: root/lib/zlog.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-04-23 20:17:18 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-27 09:52:41 +0200
commitc2527ed21b10d49a1f2d575a7ce3ecc858bd90e5 (patch)
tree34ef134abbe78542efa2fdb6702edbcba8ab1bdb /lib/zlog.h
parent*: fix first header (diff)
downloadfrr-c2527ed21b10d49a1f2d575a7ce3ecc858bd90e5.tar.xz
frr-c2527ed21b10d49a1f2d575a7ce3ecc858bd90e5.zip
lib/zlog: fix printfrr format attribute
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
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 904049c0f..1c5013746 100644
--- a/lib/zlog.h
+++ b/lib/zlog.h
@@ -47,7 +47,7 @@ extern int zlog_tmpdirfd;
extern void vzlog(int prio, const char *fmt, va_list ap);
-__attribute__ ((format (printf, 2, 3)))
+PRINTFRR(2, 3)
static inline void zlog(int prio, const char *fmt, ...)
{
va_list ap;