diff --git a/sys/dev/kbdmux/kbdmux.c b/sys/dev/kbdmux/kbdmux.c index a979deffaab3..7a47683bb371 100644 --- a/sys/dev/kbdmux/kbdmux.c +++ b/sys/dev/kbdmux/kbdmux.c @@ -1363,7 +1363,7 @@ kbdmux_modevent(module_t mod, int type, void *data) break; } - return (0); + return (error); } DEV_MODULE(kbdmux, kbdmux_modevent, NULL);