char *err = get_trailing_whitespace(lines[i]);
if (err) {
score->error = "Trailing whitespace"
- "found";
+ " found";
score_file_error(score, f, i+1, err);
}
}
}
struct ccanlint trailing_whitespace = {
- .key = "trailing-whitespace",
+ .key = "no_trailing_whitespace",
.name = "Module's source code has no trailing whitespace",
.check = check_trailing_whitespace,
};