summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2015-08-17 18:22:24 -0300
committerCristian Rodríguez <crrodriguez@opensuse.org>2015-08-30 19:21:31 -0300
commit3cb063fdb27ac31de436c54357768564f3d4d238 (patch)
treef970f2712328311b50f2adfbe3fd1df8ea2e1cab /src/locale
parent40ec276fdfc98f9fa7ed155b906235a79711066d (diff)
locale: add printf attribute to log_xkb()
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/localed.c1
1 files changed, 1 insertions, 0 deletions
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;