From 9be7769017aabb47fed7c228523cf67bd1ad998b Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 20 Feb 2015 00:11:47 +0300 Subject: [PATCH] tty: Fix typo in tty_setup_slavery for VT Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tty.c b/tty.c index 01d8c3ea8..38a95ec99 100644 --- a/tty.c +++ b/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;