From: Christian Brauner Date: Tue, 27 Feb 2018 15:44:57 +0000 (+0100) Subject: console: lxc_terminal_peer_default() X-Git-Tag: lxc-3.0.0.beta1~5^2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c716661dcaa8f061d447c97051182fd5a774483;p=thirdparty%2Flxc.git console: lxc_terminal_peer_default() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/console.c b/src/lxc/console.c index d8820aa99..a1de23bbd 100644 --- a/src/lxc/console.c +++ b/src/lxc/console.c @@ -634,7 +634,7 @@ void lxc_terminal_free(struct lxc_conf *conf, int fd) } } -static int lxc_console_peer_default(struct lxc_pty *console) +static int lxc_terminal_peer_default(struct lxc_pty *console) { struct lxc_tty_state *ts; const char *path = console->path; @@ -861,7 +861,7 @@ int lxc_pty_create(struct lxc_pty *console) goto err; } - ret = lxc_console_peer_default(console); + ret = lxc_terminal_peer_default(console); if (ret < 0) { ERROR("Failed to allocate a peer pty device"); goto err;