summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-09-06 06:22:20 +0000
committerobrien <obrien@FreeBSD.org>2000-09-06 06:22:20 +0000
commit96866cfa2a69b7cf5a7492ae65aff72e5e6eb5b1 (patch)
tree46652986e53a7c271294cd6325fdcff5ca030aaa /sys
parent745048429c466ca87dcce5bf5c39d0dfaed7ef28 (diff)
downloadFreeBSD-src-96866cfa2a69b7cf5a7492ae65aff72e5e6eb5b1.zip
FreeBSD-src-96866cfa2a69b7cf5a7492ae65aff72e5e6eb5b1.tar.gz
The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''. Submitted by: Hisashi Hiramoto <hiramoto@phys.chs.nihon-u.ac.jp>
Diffstat (limited to 'sys')
-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 d99eed1..7c355ac 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -1168,7 +1168,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/";
+static char linker_path[MAXPATHLEN] = "/boot/modules/;/modules/;/boot/kernel/";
SYSCTL_STRING(_kern, OID_AUTO, module_path, CTLFLAG_RW, linker_path,
sizeof(linker_path), "module load search path");
OpenPOWER on IntegriCloud