From 3cb063fdb27ac31de436c54357768564f3d4d238 Mon Sep 17 00:00:00 2001 From: Cristian Rodríguez Date: Mon, 17 Aug 2015 18:22:24 -0300 Subject: locale: add printf attribute to log_xkb() --- src/locale/localed.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/locale/localed.c b/src/locale/localed.c index e9489f04c2..4fa84df8c0 100644 --- a/src/locale/localed.c +++ b/src/locale/localed.c @@ -1092,6 +1092,7 @@ static int method_set_vc_keyboard(sd_bus_message *m, void *userdata, sd_bus_erro } #ifdef HAVE_XKBCOMMON +_printf_(3, 0) static void log_xkb(struct xkb_context *ctx, enum xkb_log_level lvl, const char *format, va_list args) { const char *fmt; -- cgit v1.2.3-54-g00ecf