console: lxc_terminal_create_ringbuf()

parent 2aac071b
......@@ -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;
......
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