diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2014-11-22 17:10:57 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2014-11-22 17:10:57 +0000 |
commit | 53ec9d6c8c3b64a3691010dd696f1dc86ace4ef0 (patch) | |
tree | edb4bb9c6f204288f765f0fdc1c4edffa5a34015 /lib/libc/stdio/setbuffer.c | |
parent | 67ea82037affc090649d9f584fbdcce9a58ba367 (diff) | |
download | FreeBSD-src-53ec9d6c8c3b64a3691010dd696f1dc86ace4ef0.zip FreeBSD-src-53ec9d6c8c3b64a3691010dd696f1dc86ace4ef0.tar.gz |
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 of: r273973
Diffstat (limited to 'lib/libc/stdio/setbuffer.c')
0 files changed, 0 insertions, 0 deletions