From: duguhaotian Date: Tue, 16 Jan 2018 07:31:14 +0000 (+0800) Subject: [console] return wrong console logsize X-Git-Tag: lxc-3.0.0.beta1~78^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcea90a0333e24603b2bb28262caa14f74e37730;p=thirdparty%2Flxc.git [console] return wrong console logsize get_config_console_logsize want console.buffer_size not c->autodev Signed-off-by: duguhaotian --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 5bea71ae0..3deec58bf 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -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,