]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/license_depends_compat.c
tools: don't assume modules are immediately below ccan/ dir.
[ccan] / tools / ccanlint / tests / license_depends_compat.c
index 6517a7fc5d6973a0bdcad1e06351acc2f0d0e745..f04b4638025a723a87528410778fb1867c52adfa 100644 (file)
@@ -36,7 +36,7 @@ static void check_license_depends_compat(struct manifest *m,
                        score_file_error(score, i->info_file, 0,
                                         "Dependency ccan/%s has"
                                         " incompatible license '%s'",
-                                        i->basename,
+                                        i->modname,
                                         licenses[i->license].name);
                        score->pass = false;
                }