i_input_tty: also try /dev/tty0

This commit is contained in:
Daniel Maslowski 2022-08-20 00:41:43 +02:00
parent b1bf036dd8
commit 5b25c9a78c
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ void kbd_shutdown(void)
static int kbd_init(void)
{
struct termios new_term;
char *files_to_try[] = {"/dev/tty", "/dev/console", NULL};
char *files_to_try[] = {"/dev/tty", "/dev/tty0", "/dev/console", NULL};
int i;
int flags;
int found = 0;