From: Christian Brauner Date: Tue, 27 Feb 2018 15:36:09 +0000 (+0100) Subject: console: lxc_terminal_peer_proxy_free() X-Git-Tag: lxc-3.0.0.beta1~5^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec2a5cfc58ae49f0099bb6d47d7b416a03ce2b04;p=thirdparty%2Flxc.git console: lxc_terminal_peer_proxy_free() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/console.c b/src/lxc/console.c index 884be2ff7..3e50ebf89 100644 --- a/src/lxc/console.c +++ b/src/lxc/console.c @@ -509,7 +509,7 @@ int lxc_setup_tios(int fd, struct termios *oldtios) return 0; } -static void lxc_console_peer_proxy_free(struct lxc_pty *console) +static void lxc_terminal_peer_proxy_free(struct lxc_pty *console) { if (console->tty_state) { lxc_terminal_signal_fini(console->tty_state); @@ -571,7 +571,7 @@ static int lxc_console_peer_proxy_alloc(struct lxc_pty *console, int sockfd) return 0; err1: - lxc_console_peer_proxy_free(console); + lxc_terminal_peer_proxy_free(console); return -1; } @@ -630,7 +630,7 @@ void lxc_console_free(struct lxc_conf *conf, int fd) if (console->peerpty.busy == fd) { lxc_mainloop_del_handler(console->descr, console->peerpty.slave); - lxc_console_peer_proxy_free(console); + lxc_terminal_peer_proxy_free(console); } }