tty: Fix typo in tty_setup_slavery for VT

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2015-02-20 00:11:47 +03:00 committed by Pavel Emelyanov
parent bec5a023d1
commit 9be7769017

2
tty.c
View file

@ -1092,7 +1092,7 @@ int tty_setup_slavery(void)
peer = info;
list_for_each_entry_safe_continue(peer, m, &all_ttys, list) {
if (peer->type == TTY_TYPE_CONSOLE || info->type == TTY_TYPE_VT)
if (peer->type == TTY_TYPE_CONSOLE || peer->type == TTY_TYPE_VT)
continue;
if (peer->tie->pty->index != info->tie->pty->index)
continue;