summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-03-18 09:46:32 +0000
committerGitHub <noreply@github.com>2022-03-18 09:46:32 +0000
commit90e46b5ee3afda2e29c6f393cf265064116f6894 (patch)
tree21f9938944eeb1a43253e226e6f824c3f46d479c
parenta362d3c0ee79097ce2e3fca4ad003f1e96dad472 (diff)
parent08dc2bb54658e003724f570224541a674645d87f (diff)
downloadbubblewrap-90e46b5ee3afda2e29c6f393cf265064116f6894.tar.gz
Merge pull request #481 from Keruspe/clang
tests: fix build with clang
-rw-r--r--tests/test-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-utils.c b/tests/test-utils.c
index c9b859d..41874a1 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -25,6 +25,8 @@
/* A small implementation of TAP */
static unsigned int test_number = 0;
+
+__attribute__((format(printf, 1, 2)))
static void
ok (const char *format, ...)
{