X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fselinux-access.c;h=426aed07d263171def62b05ae811ecc3b08be4de;hb=b42defe3b8ed3947d85db654a6cdb1b9999f394d;hp=bc195f3c56e746746bd03d3a5cb2edc0baeb9f34;hpb=ace188cf3a0de77cb644f0e4dee7853c4f6404fd;p=elogind.git diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c index bc195f3c5..426aed07d 100644 --- a/src/core/selinux-access.c +++ b/src/core/selinux-access.c @@ -174,7 +174,7 @@ static int audit_callback( user_avc's into the /var/log/audit/audit.log, otherwise they will be sent to syslog. */ -static int log_callback(int type, const char *fmt, ...) { +_printf_attr_(2, 3) static int log_callback(int type, const char *fmt, ...) { va_list ap; va_start(ap, fmt);