summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-02-18 10:24:01 +1030
committerRusty Russell <rusty@rustcorp.com.au>2011-02-18 10:24:01 +1030
commit4a1ec39ed6624666bb857b089f219bf3adbb944f (patch)
tree18afc72830b0be5f059d79ee2e85c86a425ff9a7
parent502fa86836da59f1534e0a37f2f516334ed35866 (diff)
ccanlint: fix format error when test output contains %
-rw-r--r--tools/ccanlint/tests/tests_pass.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}