summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/module.c
diff options
context:
space:
mode:
authordcs <dcs@FreeBSD.org>2000-09-16 19:59:41 +0000
committerdcs <dcs@FreeBSD.org>2000-09-16 19:59:41 +0000
commit7d33636597d68dd7f470a4aab01135efafec23b7 (patch)
tree8e4e9584cefe2e933918d73aa628f822ae6dbeda /sys/boot/common/module.c
parent0d4df47e61845b880a9eace6194a2b830a6a15db (diff)
downloadFreeBSD-src-7d33636597d68dd7f470a4aab01135efafec23b7.zip
FreeBSD-src-7d33636597d68dd7f470a4aab01135efafec23b7.tar.gz
The default search path for kernel and modules was bogus. It makes no
sense for /boot/kernel to come last.
Diffstat (limited to 'sys/boot/common/module.c')
-rw-r--r--sys/boot/common/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/module.c b/sys/boot/common/module.c
index 4f4be9c..3bcc3e4 100644
--- a/sys/boot/common/module.c
+++ b/sys/boot/common/module.c
@@ -49,7 +49,7 @@ struct file_metadata* metadata_next(struct file_metadata *base_mp, int type);
/* load address should be tweaked by first module loaded (kernel) */
static vm_offset_t loadaddr = 0;
-static const char *default_searchpath ="/boot/modules;/modules;/boot/kernel";
+static const char *default_searchpath ="/boot/kernel;/boot/modules;/modules";
struct preloaded_file *preloaded_files = NULL;
OpenPOWER on IntegriCloud