Commit eaca6b48 authored by Rusty Russell's avatar Rusty Russell

ccanlint: minor print formatting cleanup.

parent 83cfe17f
......@@ -153,7 +153,8 @@ static bool run_test(struct ccanlint *i,
struct file_error *f;
if (score->error)
printf("%s:\n", score->error);
printf("%s%s\n", score->error,
list_empty(&score->per_file_errors) ? "" : ":");
list_for_each(&score->per_file_errors, f, list) {
if (f->line)
......
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