X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fexamples_compile.c;h=578805fe0c62a23db549a6e54e6fb0018980a15a;hp=8ab806438f1b4aab25e033cda63fca6915017e0c;hb=fee8416f9d5c23f05d0c4fc57cfb56aaf91c0769;hpb=1f45ec04761cd99011445c6d41cd64a3951f77e0 diff --git a/tools/ccanlint/tests/examples_compile.c b/tools/ccanlint/tests/examples_compile.c index 8ab80643..578805fe 100644 --- a/tools/ccanlint/tests/examples_compile.c +++ b/tools/ccanlint/tests/examples_compile.c @@ -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;