Commit 9be77690 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

tty: Fix typo in tty_setup_slavery for VT

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent bec5a023
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment