diff options
author | ru <ru@FreeBSD.org> | 2003-03-03 22:53:35 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-03-03 22:53:35 +0000 |
commit | f9c71e51d94827e9ce6d18c09e0127db4f9e2f5a (patch) | |
tree | 585b9a902ad379a9f36e207a2b9697b59c17563d /sys/kern/kern_linker.c | |
parent | b9d961af594cb9fc01abead1ba9fd397026a9363 (diff) | |
download | FreeBSD-src-f9c71e51d94827e9ce6d18c09e0127db4f9e2f5a.zip FreeBSD-src-f9c71e51d94827e9ce6d18c09e0127db4f9e2f5a.tar.gz |
FreeBSD 5.0 has stopped shipping /modules 2.5 years ago. Catch
up with this further by excluding /modules from the (default)
kern.module_path.
Diffstat (limited to 'sys/kern/kern_linker.c')
-rw-r--r-- | sys/kern/kern_linker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c index 3c38bac..29672bc 100644 --- a/sys/kern/kern_linker.c +++ b/sys/kern/kern_linker.c @@ -1343,7 +1343,7 @@ SYSINIT(preload, SI_SUB_KLD, SI_ORDER_MIDDLE, linker_preload, 0) */ static char linker_hintfile[] = "linker.hints"; -static char linker_path[MAXPATHLEN] = "/boot/kernel;/boot/modules;/modules"; +static char linker_path[MAXPATHLEN] = "/boot/kernel;/boot/modules"; SYSCTL_STRING(_kern, OID_AUTO, module_path, CTLFLAG_RW, linker_path, sizeof(linker_path), "module load search path"); |