Properly retun error core from kbdmux_modevent()

Reported by:	Christoph Mallon < christoph -dot- mallon -at- gmx -dot- de >
MFC after:	1 week
This commit is contained in:
Maksim Yevmenkin 2009-02-02 21:34:04 +00:00
parent e627b033dc
commit 8de7d5083c

View File

@ -1363,7 +1363,7 @@ kbdmux_modevent(module_t mod, int type, void *data)
break;
}
return (0);
return (error);
}
DEV_MODULE(kbdmux, kbdmux_modevent, NULL);