From: Christian Brauner Date: Tue, 27 Feb 2018 15:49:28 +0000 (+0100) Subject: console: lxc_terminal_create_ringbuf() X-Git-Tag: lxc-3.0.0.beta1~5^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bc780839bef0a0045014529902d93c7073416eb;p=thirdparty%2Flxc.git console: lxc_terminal_create_ringbuf() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/console.c b/src/lxc/console.c index 33d299598..d1f5b234c 100644 --- a/src/lxc/console.c +++ b/src/lxc/console.c @@ -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;