X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Finfo_exists.c;h=ac84011978e86edbd0209270b8b07f68ae3d5b21;hp=a9a6c1c993a77c532515fe5c92eef282cccafba9;hb=7bb7cd58c2d9df126dd6072e5f3bec1eb4dc916b;hpb=d50528d6c5f834bad874385b3a2c118bb39fb9ac diff --git a/tools/ccanlint/compulsory_tests/info_exists.c b/tools/ccanlint/compulsory_tests/info_exists.c index a9a6c1c9..ac840119 100644 --- a/tools/ccanlint/compulsory_tests/info_exists.c +++ b/tools/ccanlint/compulsory_tests/info_exists.c @@ -21,10 +21,11 @@ static void check_has_info(struct manifest *m, score->pass = true; score->score = score->total; } else { - score->error = "You have no _info file.\n\n" + score->error = talloc_strdup(score, + "You have no _info file.\n\n" "The file _info contains the metadata for a ccan package: things\n" "like the dependencies, the documentation for the package as a whole\n" - "and license information.\n"; + "and license information.\n"); } }