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

index 33d299598e7a6b36a4ac354739cc695d698fa59e..d1f5b234ca562d3b0e3c8aa0a4c4162e6b76e1a1 100644 (file)
@@ -776,7 +776,7 @@ void lxc_terminal_delete(struct lxc_pty *console)
  * register a handler for the console's masterfd when we create the mainloop
  * the console handler needs to see an allocated ringbuffer.
  */
-static int lxc_console_create_ringbuf(struct lxc_pty *console)
+static int lxc_terminal_create_ringbuf(struct lxc_pty *console)
 {
        int ret;
        struct lxc_ringbuf *buf = &console->ringbuf;
@@ -894,7 +894,7 @@ int lxc_console_create(struct lxc_conf *conf)
                goto err;
 
        /* create console ringbuffer */
-       ret = lxc_console_create_ringbuf(console);
+       ret = lxc_terminal_create_ringbuf(console);
        if (ret < 0)
                goto err;