ccanlint: fix more potential segvs when reporting ccanlint errors.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 24 Feb 2011 02:50:01 +0000 (13:20 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 24 Feb 2011 02:50:01 +0000 (13:20 +1030)
commit299dc8f99ca642943db4f0204b5fe31065545d27
treee213f4c412f97c3faa2960edf604ec72f1c230b0
parentaf052b1a93f91b6e0888d5ece29786243d57cf2e
ccanlint: fix more potential segvs when reporting ccanlint errors.

When I changed score_file_error() to printf-style, I didn't audit all
the callers who were handing string literals.  I've finally done that;
I should have broken the compile by renaming it.

Rusty fails refactoring 101.
Reported-by: Andreas Schlick
tools/ccanlint/compulsory_tests/module_builds.c
tools/ccanlint/tests/examples_run.c
tools/ccanlint/tests/headers_idempotent.c
tools/ccanlint/tests/info_summary_single_line.c
tools/ccanlint/tests/no_trailing_whitespace.c
tools/ccanlint/tests/tests_compile_coverage.c
tools/ccanlint/tests/tests_pass_valgrind.c