summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-03-26 11:30:24 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2021-03-30 08:33:49 +1000
commit632eedadf5124278ab2690a00f2079c89840adbb (patch)
treed3fc7a1bea5c20314875d6321e3f9adcddc7cf59
parent9011f91868ad54cd300383c4ddcbb08e5d0d5bb8 (diff)
downloadlibinput-632eedadf5124278ab2690a00f2079c89840adbb.tar.gz
tools/record: mark the iprintf function as printf
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--tools/libinput-record.c1
1 files changed, 1 insertions, 0 deletions
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, ...)
{