diff options
| author | David Lamparter <equinox@diac24.net> | 2020-04-23 20:17:18 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2020-04-27 09:52:41 +0200 | 
| commit | c2527ed21b10d49a1f2d575a7ce3ecc858bd90e5 (patch) | |
| tree | 34ef134abbe78542efa2fdb6702edbcba8ab1bdb /lib/zlog.h | |
| parent | 7309092bf48ec5af1b29c1b8d81211cb1d57f3a4 (diff) | |
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.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zlog.h b/lib/zlog.h index 904049c0f2..1c5013746b 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;  | 
