aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/common/help.common2
-rw-r--r--sys/boot/common/loader.82
-rw-r--r--sys/boot/common/module.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/common/help.common b/sys/boot/common/help.common
index 9ef8aff1fc139..fee152f802455 100644
--- a/sys/boot/common/help.common
+++ b/sys/boot/common/help.common
@@ -200,7 +200,7 @@
Sets the list of directories which will be searched in for modules
named in a load command or implicitly required by a dependancy. The
- default module_path is "/boot/kernel;/boot/modules;/modules".
+ default module_path is "/boot/kernel;/boot/modules".
################################################################################
# Tset Sprompt DSet the command prompt
diff --git a/sys/boot/common/loader.8 b/sys/boot/common/loader.8
index c868922e254d2..7c0e2b81e1baf 100644
--- a/sys/boot/common/loader.8
+++ b/sys/boot/common/loader.8
@@ -374,7 +374,7 @@ Define the number of lines on the screen, to be used by the pager.
Sets the list of directories which will be searched in for modules
named in a load command or implicitly required by a dependency.
The default value for this variable is
-.Dq Li /;/boot;/modules .
+.Dq Li /boot/kernel;/boot/modules .
.It Va num_ide_disks
Sets the number of IDE disks as a work around for some problems in
finding the root disk at boot.
diff --git a/sys/boot/common/module.c b/sys/boot/common/module.c
index dbbf62964acfa..3237049ea2d11 100644
--- a/sys/boot/common/module.c
+++ b/sys/boot/common/module.c
@@ -65,7 +65,7 @@ static void moduledir_rebuild(void);
/* load address should be tweaked by first module loaded (kernel) */
static vm_offset_t loadaddr = 0;
-static const char *default_searchpath ="/boot/kernel;/boot/modules;/modules";
+static const char *default_searchpath ="/boot/kernel;/boot/modules";
static STAILQ_HEAD(, moduledir) moduledir_list = STAILQ_HEAD_INITIALIZER(moduledir_list);