]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: add attribute printf to null_log()
authorCristian Rodríguez <crrodriguez@opensuse.org>
Mon, 17 Aug 2015 21:23:31 +0000 (18:23 -0300)
committerCristian Rodríguez <crrodriguez@opensuse.org>
Sun, 30 Aug 2015 22:21:31 +0000 (19:21 -0300)
src/core/selinux-setup.c

index a4678500e6b9c414866fa9c5d1f46efe02cdce42..e5b457643b0d6ad9aac16d007668035baf7d5476 100644 (file)
@@ -34,6 +34,7 @@
 #include "log.h"
 
 #ifdef HAVE_SELINUX
+_printf_(2,3)
 static int null_log(int type, const char *fmt, ...) {
         return 0;
 }