1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00

core: add attribute printf to null_log()

This commit is contained in:
Cristian Rodríguez 2015-08-17 18:23:31 -03:00
parent 3cb063fdb2
commit 82613b14ba

View File

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