diff options
author | Simon McVittie <smcv@collabora.com> | 2022-03-18 09:46:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 09:46:32 +0000 |
commit | 90e46b5ee3afda2e29c6f393cf265064116f6894 (patch) | |
tree | 21f9938944eeb1a43253e226e6f824c3f46d479c | |
parent | a362d3c0ee79097ce2e3fca4ad003f1e96dad472 (diff) | |
parent | 08dc2bb54658e003724f570224541a674645d87f (diff) | |
download | bubblewrap-90e46b5ee3afda2e29c6f393cf265064116f6894.tar.gz |
Merge pull request #481 from Keruspe/clang
tests: fix build with clang
-rw-r--r-- | tests/test-utils.c | 2 |
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, ...) { |