From: Cristian Rodríguez Date: Mon, 17 Aug 2015 21:22:24 +0000 (-0300) Subject: locale: add printf attribute to log_xkb() X-Git-Tag: v226~70^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3cb063fdb27ac31de436c54357768564f3d4d238;p=thirdparty%2Fsystemd.git locale: add printf attribute to log_xkb() --- diff --git a/src/locale/localed.c b/src/locale/localed.c index e9489f04c28..4fa84df8c06 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;