HomeFreeBSD

vt(4): Fix keyboard allocation when kbdmux(4) isn't used

Description

vt(4): Fix keyboard allocation when kbdmux(4) isn't used

The problem was that only the kbdmux keyboard index was saved in
vd->vd_keyboard. This index is -1 when kbdmux isn't used. In this
case, the keyboard was correctly allocated, but the returned index was
discarded.

PR: 194718
MFC after: 1 week

Details

Provenance
dumbbellAuthored on
Parents
rS273972: Added comment for problem found and fixed by r273967.
Branches
Unknown
Tags
Unknown

Event Timeline