X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fmodule_builds.c;fp=tools%2Fccanlint%2Ftests%2Fmodule_builds.c;h=cb13a0b63e6a53933705d9e3370f9237d8243238;hb=bdb8d75154d7aefe01788e5dd5adb11e3c943c11;hp=45b67c5a5424373c4954aa1a106dc898a44da03e;hpb=78158c87e37ce3b41cd5145e29baea38fd002374;p=ccan diff --git a/tools/ccanlint/tests/module_builds.c b/tools/ccanlint/tests/module_builds.c index 45b67c5a..cb13a0b6 100644 --- a/tools/ccanlint/tests/module_builds.c +++ b/tools/ccanlint/tests/module_builds.c @@ -57,7 +57,7 @@ static void do_build(struct manifest *m, m->compiled[COMPILE_NORMAL] = build_module(m, COMPILE_NORMAL, &errstr); if (!m->compiled[COMPILE_NORMAL]) { - score_file_error(score, NULL, 0, "%s", errstr); + score_error(score, m->modname,"%s", errstr); return; }