summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_linker.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-09-08 13:19:05 +0000
committerphk <phk@FreeBSD.org>2009-09-08 13:19:05 +0000
commit52972616516a18e69bb2849c2f2e718ee644b27f (patch)
tree9f7c1709b6ce492cd874120e81e8a117cab4ca7d /sys/kern/kern_linker.c
parent2314521104388ada19392a3b2cdaca4ba6f82243 (diff)
downloadFreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.zip
FreeBSD-src-52972616516a18e69bb2849c2f2e718ee644b27f.tar.gz
Revert previous commit and add myself to the list of people who should
know better than to commit with a cat in the area.
Diffstat (limited to 'sys/kern/kern_linker.c')
-rw-r--r--sys/kern/kern_linker.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
index cfe316f..9387ba8 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -1875,7 +1875,6 @@ linker_search_kld(const char *name)
return (linker_strdup(name));
/* traverse the linker path */
- /* XXX: FlexeLint: this is not safe, ep will count past NUL */
len = strlen(name);
for (ep = linker_path; *ep; ep++) {
cp = ep;
OpenPOWER on IntegriCloud