X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Ftests_coverage.c;fp=tools%2Fccanlint%2Ftests%2Ftests_coverage.c;h=f5e9f04349077b61c1092f167c1d3034afb8b8d2;hb=aabf300e324f7da5134d7ad45afba11225045c24;hp=3d5216ffebd9495568b9045d4d5c3e9eca42cc06;hpb=44b37ee8aeb185f6837378fef17d887bda6ff89b;p=ccan diff --git a/tools/ccanlint/tests/tests_coverage.c b/tools/ccanlint/tests/tests_coverage.c index 3d5216ff..f5e9f043 100644 --- a/tools/ccanlint/tests/tests_coverage.c +++ b/tools/ccanlint/tests/tests_coverage.c @@ -2,7 +2,6 @@ #include #include #include -#include #include #include #include @@ -101,7 +100,7 @@ static void analyze_coverage(struct manifest *m, bool full_gcov, apostrophe = strchr(filename, '\''); *apostrophe = '\0'; if (lines_matter) { - file = grab_file(score, filename, NULL); + file = talloc_grab_file(score, filename, NULL); if (!file) { score->error = talloc_asprintf(score, "Reading %s",