summaryrefslogtreecommitdiff
path: root/src/core/selinux-setup.c
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2015-08-17 18:23:31 -0300
committerCristian Rodríguez <crrodriguez@opensuse.org>2015-08-30 19:21:31 -0300
commit82613b14ba10706da0f89774dc82d33a04fe5290 (patch)
tree517204160697c6fbd5ad2c75c9c734bd21116c6b /src/core/selinux-setup.c
parent3cb063fdb27ac31de436c54357768564f3d4d238 (diff)
downloadsystemd-82613b14ba10706da0f89774dc82d33a04fe5290.tar.gz
core: add attribute printf to null_log()
Diffstat (limited to 'src/core/selinux-setup.c')
-rw-r--r--src/core/selinux-setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/selinux-setup.c b/src/core/selinux-setup.c
index a4678500e6..e5b457643b 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;
}