Commit 285338ec authored by Rusty Russell's avatar Rusty Russell

ccanlint: fix SEGV when example has format string.

parent 04a42d50
......@@ -599,7 +599,7 @@ static void build_examples(struct manifest *m, bool keep,
err[1]);
}
}
score_file_error(score, i, 0, error);
score_file_error(score, i, 0, "%s", error);
/* This didn't work, so not a candidate for combining. */
prev = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment