strsplit: remove nump argument
[ccan] / tools / ccanlint / tests / depends_accurate.c
index 34db4f84d0dd75b9d402f7ead9bc798cdf88268b..3ab6933ee7e4c57825d447ac771d9161a27b9500 100644 (file)
@@ -55,9 +55,9 @@ static void check_depends_accurate(struct manifest *m,
                                        continue;
                                if (has_dep(m, mod))
                                        continue;
-                               score->error = "Includes a ccan module"
-                                       " not listed in _info";
-                               score_file_error(score, f, i+1, lines[i]);
+                               score_file_error(score, f, i+1,
+                                                "%s not listed in _info",
+                                                mod);
                        }
                }
        }