X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fobjects_build_with_stringchecks.c;h=c2fe1b6cc7c519e52d920ae5df14c510e8f42072;hp=9aa6fd8432fa6a6c446f83875db46acc514c2286;hb=10e5e329a1a8804ff6461e1724071364cf6be572;hpb=a64257be339a8485f66ca9bafd6be7077aa873cd diff --git a/tools/ccanlint/tests/objects_build_with_stringchecks.c b/tools/ccanlint/tests/objects_build_with_stringchecks.c index 9aa6fd84..c2fe1b6c 100644 --- a/tools/ccanlint/tests/objects_build_with_stringchecks.c +++ b/tools/ccanlint/tests/objects_build_with_stringchecks.c @@ -112,7 +112,7 @@ static void build_objects_with_stringchecks(struct manifest *m, tmp = temp_file(score, ".c", i->fullname); tmpfd = start_file(tmp); line = talloc_asprintf(score, "#include \n", - m->basename, m->basename); + m->modname, m->basename); write_str(tmpfd, line); close(tmpfd); test_compile(score, i, tmp, flags, &errors, &warnings);