summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_linker.c
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-08-20 01:12:28 +0000
committerdd <dd@FreeBSD.org>2001-08-20 01:12:28 +0000
commit0b3018edbb61412f108db1b8f2a351cbf913c4ce (patch)
tree58532c10c254f0e465877644ba871b223dd705d8 /sys/kern/kern_linker.c
parent1c71725d2d2de8af4000fc7a4ef5c4bab52387d5 (diff)
downloadFreeBSD-src-0b3018edbb61412f108db1b8f2a351cbf913c4ce.zip
FreeBSD-src-0b3018edbb61412f108db1b8f2a351cbf913c4ce.tar.gz
Sync the default module search path with the one in
sys/boot/common/module.c. PR: 21405 Submitted by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
Diffstat (limited to 'sys/kern/kern_linker.c')
-rw-r--r--sys/kern/kern_linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
index 09517a2..48f414b 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -1237,7 +1237,7 @@ SYSINIT(preload, SI_SUB_KLD, SI_ORDER_MIDDLE, linker_preload, 0);
* character as a separator to be consistent with the bootloader.
*/
-static char linker_path[MAXPATHLEN] = "/boot/modules/;/modules/;/boot/kernel/";
+static char linker_path[MAXPATHLEN] = "/boot/kernel;/boot/modules/;/modules/";
SYSCTL_STRING(_kern, OID_AUTO, module_path, CTLFLAG_RW, linker_path,
sizeof(linker_path), "module load search path");
OpenPOWER on IntegriCloud