summaryrefslogtreecommitdiffstats
path: root/src/locale/localed.c
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2015-08-17 23:22:24 +0200
committerCristian Rodríguez <crrodriguez@opensuse.org>2015-08-31 00:21:31 +0200
commit3cb063fdb27ac31de436c54357768564f3d4d238 (patch)
treef970f2712328311b50f2adfbe3fd1df8ea2e1cab /src/locale/localed.c
parentMerge pull request #1072 from piotrdrag/master (diff)
downloadsystemd-3cb063fdb27ac31de436c54357768564f3d4d238.tar.xz
systemd-3cb063fdb27ac31de436c54357768564f3d4d238.zip
locale: add printf attribute to log_xkb()
Diffstat (limited to 'src/locale/localed.c')
-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;