Skip to content

Commit 90e46b5

Browse files
authored
Merge pull request #481 from Keruspe/clang
tests: fix build with clang
2 parents a362d3c + 08dc2bb commit 90e46b5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test-utils.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
/* A small implementation of TAP */
2727
static unsigned int test_number = 0;
28+
29+
__attribute__((format(printf, 1, 2)))
2830
static void
2931
ok (const char *format, ...)
3032
{

0 commit comments

Comments
 (0)