]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
console: lxc_terminal_peer_default()
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 27 Feb 2018 15:44:57 +0000 (16:44 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 27 Feb 2018 21:18:13 +0000 (22:18 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/console.c

index d8820aa99be9e83cdb9dc93fa5eb7ea35655aca2..a1de23bbd578254cb0f7cedfcd37398b1d32881c 100644 (file)
@@ -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;