console: lxc_terminal_peer_default()

parent 3dfe6f8d
...@@ -634,7 +634,7 @@ void lxc_terminal_free(struct lxc_conf *conf, int fd) ...@@ -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; struct lxc_tty_state *ts;
const char *path = console->path; const char *path = console->path;
...@@ -861,7 +861,7 @@ int lxc_pty_create(struct lxc_pty *console) ...@@ -861,7 +861,7 @@ int lxc_pty_create(struct lxc_pty *console)
goto err; goto err;
} }
ret = lxc_console_peer_default(console); ret = lxc_terminal_peer_default(console);
if (ret < 0) { if (ret < 0) {
ERROR("Failed to allocate a peer pty device"); ERROR("Failed to allocate a peer pty device");
goto err; goto err;
......
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