git: b5fe1bc5c6e4 - main - rc.d/bthidd: Correct load_kld invocations

Li-Wen Hsu <[email protected]> Fri, 31 Jul 2026 18:05:12 +0000
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a6ce3d8.3e473.7c81203b__40978.5287732788$1785521128$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=b5fe1bc5c6e4b483aacadddd8bdf37aa12c89982

commit b5fe1bc5c6e4b483aacadddd8bdf37aa12c89982
Author:     Li-Wen Hsu <[email protected]>
AuthorDate: 2026-07-31 18:05:03 +0000
Commit:     Li-Wen Hsu <[email protected]>
CommitDate: 2026-07-31 18:05:03 +0000

    rc.d/bthidd: Correct load_kld invocations
    
    Pass a single module name to load_kld for kbdmux and vkbd, allowing
    bthidd_prestart to load both modules successfully.
    
    Fixes:          cfe1962a1925 (rc: Fix improper use of load_kld)
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
---
 libexec/rc/rc.d/bthidd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libexec/rc/rc.d/bthidd b/libexec/rc/rc.d/bthidd
index 275106a53d1e..6767391e1191 100755
--- a/libexec/rc/rc.d/bthidd
+++ b/libexec/rc/rc.d/bthidd
@@ -35,8 +35,8 @@ bthidd_prestart()
 	if evdev_enabled; then
 		load_kld -m uinput uinput
 	fi
-	load_kld kbdmux kbdmux
-	load_kld vkbd vkbd
+	load_kld kbdmux
+	load_kld vkbd
 	load_kld ng_btsocket
 	return 0
 }