From dcea90a0333e24603b2bb28262caa14f74e37730 Mon Sep 17 00:00:00 2001 From: duguhaotian Date: Tue, 16 Jan 2018 15:31:14 +0800 Subject: [PATCH] [console] return wrong console logsize get_config_console_logsize want console.buffer_size not c->autodev Signed-off-by: duguhaotian --- src/lxc/confile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.47.2