Do not rely on the fact that components in module_path to have
commit555d10438ccf57eecf2946e2a11d12ce05bca07a
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)
treec02b50520359b0ae3a98bf0f568e09f09630b28c
parentd1a5d3fc300f2f9b80941d44b8892d114ccb0d2a
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