From: Rusty Russell Date: Wed, 10 Nov 2010 06:24:59 +0000 (+1030) Subject: ccanlint: fix abort when -vv used and examples don't compile. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=02c515a11a176ffe7e38738108e51aa81c23ba65 ccanlint: fix abort when -vv used and examples don't compile. --- diff --git a/tools/ccanlint/tests/examples_compile.c b/tools/ccanlint/tests/examples_compile.c index b3484637..a3a3d1d5 100644 --- a/tools/ccanlint/tests/examples_compile.c +++ b/tools/ccanlint/tests/examples_compile.c @@ -488,7 +488,8 @@ static void build_examples(struct manifest *m, bool keep, err = "Standalone compile and" " adding headers both failed"; } else { - err = talloc_asprintf("Standalone example:\n" + err = talloc_asprintf(score, + "Standalone example:\n" "%s\n" "Errors: %s\n\n" "Adding headers, wrappers:\n"