diff options
Diffstat (limited to 'usr.sbin/sysinstall/termcap.c')
-rw-r--r-- | usr.sbin/sysinstall/termcap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/termcap.c b/usr.sbin/sysinstall/termcap.c index 69522c6..99cde148 100644 --- a/usr.sbin/sysinstall/termcap.c +++ b/usr.sbin/sysinstall/termcap.c @@ -63,8 +63,10 @@ set_termcap(void) return -1; } } - if (DebugFD == -1) + if (DebugFD == -1) { DebugFD = open("/dev/ttyv1", O_WRONLY); + ioctl(DebugFD, TIOCCONS, (char *)NULL); + } OnVTY = TRUE; } return 0; |