registry: mark the rxkb_log function as attribute printf Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
diff --git a/src/registry.c b/src/registry.c
index d3d95f5..dcaaa1b 100644
--- a/src/registry.c
+++ b/src/registry.c
@@ -133,6 +133,7 @@ static bool
parse(struct rxkb_context *ctx, const char *path,
enum rxkb_popularity popularity);
+ATTR_PRINTF(3, 4)
static void
rxkb_log(struct rxkb_context *ctx, enum rxkb_log_level level,
const char *fmt, ...)