From 4a1ec39ed6624666bb857b089f219bf3adbb944f Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 18 Feb 2011 10:24:01 +1030 Subject: [PATCH] ccanlint: fix format error when test output contains % --- tools/ccanlint/tests/tests_pass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ccanlint/tests/tests_pass.c b/tools/ccanlint/tests/tests_pass.c index 0edfad26..1d3c0182 100644 --- a/tools/ccanlint/tests/tests_pass.c +++ b/tools/ccanlint/tests/tests_pass.c @@ -39,7 +39,7 @@ static void do_run_tests(struct manifest *m, i->compiled)) score->score++; else - score_file_error(score, i, 0, cmdout); + score_file_error(score, i, 0, "%s", cmdout); } } -- 2.39.2