From: Cristian Rodríguez Date: Mon, 17 Aug 2015 21:23:31 +0000 (-0300) Subject: core: add attribute printf to null_log() X-Git-Tag: v226~70^2~1 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=82613b14ba10706da0f89774dc82d33a04fe5290;p=systemd%2F.git core: add attribute printf to null_log() --- 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; }