mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +00:00
kldxref: Clarify ambiguous comment
This previously read, to me at least, as if the not only applied to ending with ".ko", not to the entire rest of the sentence, and thus the implementation looked wrong. The history of D43507 however shows that the behaviour is as intended.
This commit is contained in:
parent
b70247df0b
commit
97c31cc800
@ -839,8 +839,8 @@ main(int argc, char *argv[])
|
||||
continue;
|
||||
/*
|
||||
* Skip files that generate errors like .debug, .symbol and .pkgsave
|
||||
* by generally skipping all files not ending with ".ko" or that have
|
||||
* no dots in the name (like kernel).
|
||||
* by generally skipping all files which neither end with ".ko"
|
||||
* nor have no dots in the name (like kernel).
|
||||
*/
|
||||
dot = strrchr(p->fts_name, '.');
|
||||
if (dot != NULL && strcmp(dot, ".ko") != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user