Skip to content

Commit

Permalink
Merge pull request #2085 from duguhaotian/master
Browse files Browse the repository at this point in the history
[console] return wrong console logsize
  • Loading branch information
Christian Brauner committed Jan 16, 2018
2 parents f37d1c2 + dcea90a commit fbf4cc9
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 fbf4cc9

Please sign in to comment.