journald: add _printf_ attribute to server_driver_message()

This commit is contained in:
Yu Watanabe 2017-11-24 10:48:21 +09:00
parent 2482f88d2a
commit 5354b0b7c0
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ struct Server {
#define N_IOVEC_PAYLOAD_FIELDS 15
void server_dispatch_message(Server *s, struct iovec *iovec, size_t n, size_t m, ClientContext *c, const struct timeval *tv, int priority, pid_t object_pid);
void server_driver_message(Server *s, pid_t object_pid, const char *message_id, const char *format, ...) _sentinel_;
void server_driver_message(Server *s, pid_t object_pid, const char *message_id, const char *format, ...) _sentinel_ _printf_(4,0);
/* gperf lookup function */
const struct ConfigPerfItem* journald_gperf_lookup(const char *key, GPERF_LEN_TYPE length);