summaryrefslogtreecommitdiff
path: root/lib/zlog.h
diff options
context:
space:
mode:
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 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;