mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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:
parent
bec5a023d1
commit
9be7769017
1 changed files with 1 additions and 1 deletions
2
tty.c
2
tty.c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue