Index: dev/vt/vt_core.c =================================================================== --- dev/vt/vt_core.c (revision 259154) +++ dev/vt/vt_core.c (working copy) @@ -1294,37 +1295,55 @@ switch (cmd) { case _IO('v', 4): cmd = VT_RELDISP; + ival = IOCPARM_IVAL(data); + data = (caddr_t)&ival; break; case _IO('v', 5): cmd = VT_ACTIVATE; + ival = IOCPARM_IVAL(data); + data = (caddr_t)&ival; break; case _IO('v', 6): cmd = VT_WAITACTIVE; + ival = IOCPARM_IVAL(data); + data = (caddr_t)&ival; break; case _IO('K', 20): cmd = KDSKBSTATE; + ival = IOCPARM_IVAL(data); + data = (caddr_t)&ival; break; case _IO('K', 67): cmd = KDSETRAD; + ival = IOCPARM_IVAL(data); + data = (caddr_t)&ival; break; case _IO('K', 7): cmd = KDSKBMODE; + ival = IOCPARM_IVAL(data); + data = (caddr_t)&ival; break; case _IO('K', 8): cmd = KDMKTONE; + ival = IOCPARM_IVAL(data); + data = (caddr_t)&ival; break; case _IO('K', 63): cmd = KIOCSOUND; + ival = IOCPARM_IVAL(data); + data = (caddr_t)&ival; break; case _IO('K', 66): cmd = KDSETLED; + ival = IOCPARM_IVAL(data); + data = (caddr_t)&ival; break; case _IO('c', 110): cmd = CONS_SETKBD; + ival = IOCPARM_IVAL(data); + data = (caddr_t)&ival; break; } - ival = IOCPARM_IVAL(data); - data = (caddr_t)&ival; #endif switch (cmd) {