From 82613b14ba10706da0f89774dc82d33a04fe5290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Mon, 17 Aug 2015 18:23:31 -0300 Subject: [PATCH] core: add attribute printf to null_log() --- src/core/selinux-setup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/selinux-setup.c b/src/core/selinux-setup.c index a4678500e6b..e5b457643b0 100644 --- a/src/core/selinux-setup.c +++ b/src/core/selinux-setup.c @@ -34,6 +34,7 @@ #include "log.h" #ifdef HAVE_SELINUX +_printf_(2,3) static int null_log(int type, const char *fmt, ...) { return 0; }