From 632eedadf5124278ab2690a00f2079c89840adbb Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 26 Mar 2021 11:30:24 +1000 Subject: [PATCH] tools/record: mark the iprintf function as printf Signed-off-by: Peter Hutterer --- tools/libinput-record.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libinput-record.c b/tools/libinput-record.c index 8021679c..16323ad2 100644 --- a/tools/libinput-record.c +++ b/tools/libinput-record.c @@ -192,6 +192,7 @@ indent_pop(struct record_context *ctx) /** * Indented dprintf, indentation is in the context */ +LIBINPUT_ATTRIBUTE_PRINTF(2, 3) static void iprintf(const struct record_context *ctx, const char *format, ...) {