Skip to content

Commit

Permalink
[console] return wrong console logsize
Browse files Browse the repository at this point in the history
get_config_console_logsize want console.buffer_size not c->autodev

Signed-off-by: duguhaotian <duguhaotian@gmail.com>
  • Loading branch information
duguhaotian committed Jan 16, 2018
1 parent f37d1c2 commit dcea90a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile.c
Expand Up @@ -3276,7 +3276,7 @@ static int get_config_console_buffer_size(const char *key, char *retv,
int inlen, struct lxc_conf *c,
void *data)
{
return lxc_get_conf_uint64(c, retv, inlen, c->autodev);
return lxc_get_conf_uint64(c, retv, inlen, c->console.buffer_size);
}

static int get_config_console_buffer_logfile(const char *key, char *retv,
Expand Down

0 comments on commit dcea90a

Please sign in to comment.