ccanlint: fix format error when test output contains %
[ccan] / tools / ccanlint / tests / tests_pass.c
index 0edfad262c4ba02299052231691b23ce40784ff7..1d3c018296d409bda74892a849ab41e25e64384a 100644 (file)
@@ -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);
                }
        }