diff options
-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 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"); |