Do not rely on the fact that components in module_path to have
commit88ab4770cfe09da9a205c27ab8abcc4f909c7311
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Mon, 7 May 2007 02:11:33 +0000 (7 02:11 +0000)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Mon, 7 May 2007 02:11:33 +0000 (7 02:11 +0000)
tree50f0ea9affbba6cd4dbfc60609b8be91113a6f40
parent8257229fbd821a04152521d93b53230fb2fd7768
Do not rely on the fact that components in module_path to have
trailing slash.  The previous commit changed the default value
of kern.module_path to use boot loader variable `module_path',
whose default value doesn't have trailing slashes, so kldload
failed unless you explicitly define module_path to have
trailing slashes.

Noticed-by: Thomas Nikolajsen <thomas.nikolajsen at mail.dk>
sys/kern/kern_linker.c