MFC rev. 1.3:

Spotted a call to a cdev-related function not wrapped
in "#ifdef KBD_INSTALL_CDEV".
This commit is contained in:
yar 2006-01-22 14:54:24 +00:00
parent c2d4c40d7e
commit d537a9f4ab

View File

@ -1283,7 +1283,9 @@ kbdmux_modevent(module_t mod, int type, void *data)
if ((error = (*sw->enable)(kbd)) != 0) {
(*sw->disable)(kbd);
#ifdef KBD_INSTALL_CDEV
kbd_detach(kbd);
#endif
(*sw->term)(kbd);
kbd_delete_driver(&kbdmux_kbd_driver);
break;